if (LTK["bz/www_play/credit"] = function (t, e, i) {
        var a = {
            initDom: function () {
                this.loadedBtn = document.getElementById("j-credit_online") || null, this.unloadBtn = document.getElementById("j-credit_offline") || null
            }, initSetup: function () {
                var t = this;
                Spirit.UserValidate.getUserInfo() && $.ajax({
                    url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/credit/balance",
                    dataType: "jsonp",
                    success: function (e) {
                        "200" == e.code && (t.creditNum.innerHTML = e.data.credits, t.unloadBtn.style.display = "none", t.loadedBtn.style.display = "inline")
                    }
                })
            }, init: function () {
                this.initDom(), this.loadedBtn && this.unloadBtn && (this.creditNum = this.loadedBtn.getElementsByTagName("em")[0], this.initSetup())
            }
        };
        a.init(), i.exports = a
    }, require("bz/www_play/credit"), LTK["air/env/isIE6"] = function (t, e, i) {
        i.exports = !window.XMLHttpRequest && !!window.ActiveXObject
    }, LTK["air/ui/mask"] = function (t, e, i) {
        var a = t("air/env/isIE6"), s = {
            $layer: null, _zIndex: 8e3, setZIndex: function (t) {
                return this._zIndex = t, this.$layer.css("z-index", t), this
            }, getZIndex: function () {
                return this._zIndex
            }, onClick: function (t) {
                return this._click = t, this
            }, show: function (t) {
                return a && this.$layer.css("height", $(document).height()), this.$layer.css("opacity", t || .2).show(), this
            }, hide: function () {
                this._click = null, this.$layer.hide()
            }
        }, o = $('<div style="display:none;background:none repeat scroll 0 0 #000000;width:100%;height:100%;position:' + (a ? "absolute" : "fixed") + '; top:0; left:0;"></div>');
        $(document.body).prepend(o), s.$layer = o, o.on("click", function () {
            s._click && s._click()
        }), i.exports = s
    }, LTK["air/event/resize"] = function (t, e, i) {
        var a = {}, s = 1, o = "resize._" + (new Date).getTime() + "_";
        a.add = function (t, e) {
            var i = 0, a = o + s++;
            return e || (e = 25), $(window).on(a, function () {
                clearTimeout(i), i = setTimeout(t, e)
            }), a
        }, a.remove = function (t) {
            $(window).off(t)
        }, i.exports = a
    }, LTK["air/ui/overlay"] = function (t, e, i) {
        function a(e) {
            var i = this;
            i.mask = e.mask === !1 ? !1 : e.mask || .2, i.onClickMask = e.onClickMask || !1, i.onShow = e.onShow || l, i.onHide = e.onHide || l, i.onClose = e.onClose || l, i.showFn = e.showFn || !1, i.hideFn = e.hideFn || !1;
            var a;
            e.html ? (i.$box = a = $(e.html), $(document.body).prepend(a)) : "string" == typeof a ? i.$box = a = $(a) : i.$box = a = e.$box, i.fixed = e.fixed === !1 ? !1 : !0, a.css("position", i.fixed ? "fixed" : "absolute"), a.css("z-index", s), i._zIndex = s++, i.$underlay = {
                css: l,
                show: l,
                hide: l,
                remove: l
            }, i._calcSize(), e.underlay && i._initUnderlay(), e.draggable ? (i._drag(), i.resize = "") : i.resize = t("air/event/resize").add(function () {
                i.setMiddle()
            }), setTimeout(function () {
                i._bindEvents(e.events), e.visible === !1 || i.show(), e.autoClose && setTimeout(function () {
                    i.close()
                }, e.autoClose)
            }, 80), o && i._fixIE6()
        }

        var s = 8001, o = t("air/env/isIE6"), n = t("air/ui/mask"), r = $(window), l = function () {
        };
        a.prototype = {
            constructor: a, _bindEvents: function (t) {
                var e, i, a = this, s = a.$box;
                for (e in t)i = e.split(/ +/), 2 === i.length && s.find(i[1]).on(i[0], function (t) {
                    return function () {
                        t.call(a)
                    }
                }(t[e]))
            }, _calcSize: function () {
                var t = this, e = t.$box;
                e.outerWidth ? (t.width = e.outerWidth(), t.height = e.outerHeight()) : (t.width = e.width(), t.height = e.height()), t.$underlay.css({
                    width: t.width,
                    height: t.height
                })
            }, setMiddle: function () {
                return this._calcSize(), this.setPosition({
                    top: (r.height() - this.height) / 2,
                    left: (r.width() - this.width) / 2
                }), this
            }, setPosition: function (t) {
                var e = t.top, i = t.left;
                return e && ((!this.fixed || o) && (e += r.scrollTop()), t.top = e > 0 ? e : 0), i && (o && (i += r.scrollLeft()), t.left = i > 0 ? i : 0), this.$box.css(t), this.$underlay.css(t), this
            }, show: function () {
                var t = this;
                return t.showFn ? t.showFn() : (t.$box.css("display", "block"), t.setMiddle(), t.$box.css("visibility", "visible")), t.$underlay.show(), t.mask && (n.setZIndex(t._zIndex - 1).show(t.mask), t.onClickMask && n.onClick(function () {
                    t.onClickMask()
                })), t
            }, hide: function () {
                return this.hideFn ? this.hideFn() : this.$box.css("display", "none").css("visibility", "hidden"), this.$underlay.hide(), this.mask && n.hide(), this
            }, close: function () {
                if (!this._closed) {
                    this._closed = !0;
                    var t = this.$box;
                    this.hideFn ? this.hideFn() : t.css("visibility", "hidden"), setTimeout(function () {
                        t.remove()
                    }, 3e3), this.$underlay.remove(), this.mask && n.hide(), this.resize && r.off(this.resize)
                }
            }, setContent: function (t) {
                return this.$box.find(".j-content").html(t), this
            }, _drag: function () {
                var t = this.$box, e = t.find(".j-dragbar");
                if (e.length) {
                    var i, a, s = this.$underlay, o = function (e) {
                        var o = e.pageX - i, n = e.pageY - a;
                        0 > o && (o = 0), 0 > n && (n = 0), t.css({top: n, left: o}), s.css({top: n, left: o})
                    }, n = function () {
                        document.onselectstart = function () {
                            return !0
                        }, $(document).off("mousemove", o).off("mouseup", n)
                    };
                    e.on("mousedown", function (e) {
                        document.onselectstart = function () {
                            return !1
                        }, e.preventDefault(), i = e.pageX - parseInt(t.css("left")), a = e.pageY - parseInt(t.css("top")), $(document).on("mousemove", o).on("mouseup", n)
                    })
                }
            }, _initUnderlay: function () {
                this.$underlay = $('<iframe style="background:none repeat scroll 0 0 #ffffff;overflow:hidden; position:' + (this.fixed ? "fixed" : "absolute") + "; z-index:" + this._zIndex + "; width:" + this.width + "px;height:" + this.height + 'px; border:none; display:none;" frameborder="0"></iframe>'), this.$box.before(this.$underlay)
            }, _fixIE6: function () {
                var t = this;
                t.fixed && (t.$box.css("position", "absolute"), t.$underlay.css("position", "absolute"), r.on("scroll", function () {
                    t.setPosition({top: (r.height() - t.height) / 2})
                }))
            }
        }, i.exports = a
    }, LTK["bz/comment/utils"] = function (t, e, i) {
        var a = {
            openWindow: function (t) {
                var e = window;
                self !== parent && (e = parent.window), e.Spirit && e.Spirit.userLogin ? e.Spirit.userLogin.openLetvLogin(t) : e.LEPass && e.LEPass.openLoginDialog()
            }, showThirdTips: function (e) {
                var i = '<div class="tc_pinless" style="visibility:hidden;"><a class="pop_head_btn_close btn_close1" href="javascript:;"></a><span style="position:absolute;left: 9px;top: 50px;font-size:14px;line-height:36px;">由于合作版权方要求，为了向您呈现更加精彩的比赛内容，本赛事需跳转到第三方地址单独付费观看!</span><a class="tc_pinless_btn" id="thirdTipsContinue" style="left:130px;position: absolute;top: 140px;" href="javascript:;">继续</a></div>', a = t("air/ui/overlay"), s = new a({
                    html: i,
                    visible: !1,
                    underlay: !0,
                    events: {
                        "click .btn_close1": function () {
                            this.hide()
                        }, "click #thirdTipsContinue": function () {
                            e && (this.hide(), window.open(e))
                        }
                    }
                });
                return {thirdTips: s}
            }, bindPhoneLayer: function () {
                var e = '<div class="tc_pinless" style="visibility:hidden;"><a class="pop_head_btn_close btn_close1" href="javascript:;"></a><span style="position:absolute;left: 44px;top: 50px;">为了充分保护您的个人信息安全和<br>合法权益，请绑定手机后发表评论！</span><a class="tc_pinless_btn" id="bind_now" style="left:130px;position: absolute;top: 140px;" target="_blank" href="http://' + LETV.CONSTANT.host.MY_LETV_COM + '/setting/phone/">立即绑定手机</a></div>', i = '<div class="tc_pinless" style="visibility:hidden;"><a class="pop_head_btn_close btn_close2" href="javascript:;"></a><a class="tc_pinless_btn btn_finish" style="position:absolute;left: 130px;top: 70px;">绑定完成</a><a class="tc_pinless_btn not_bind" style="position:absolute;left: 130px;top: 120px;">暂不绑定</a></div>', a = t("air/ui/overlay"), s = new a({
                    html: i,
                    visible: !1,
                    underlay: !0,
                    events: {
                        "click .btn_close2,.btn_finish,.not_bind": function () {
                            this.hide()
                        }
                    }
                }), o = new a({
                    html: e, visible: !1, underlay: !0, events: {
                        "click .btn_close1": function () {
                            this.hide()
                        }, "click #bind_now": function () {
                            this.hide(), s.show()
                        }
                    }
                });
                return {bindPhone: o}
            }
        };
        i.exports = a
    }, LTK["air/ui/dragSlider"] = function (t, e, i) {
        var a = function (t) {
            this.opt = $.extend({
                cont: "",
                knob: "",
                step: "",
                stepBg: "",
                showElem: "",
                startNum: 0,
                maxNum: 10,
                grade: 0,
                onDrag: function (t) {
                },
                callBack: function (t) {
                }
            }, t), this.opt.maxNum = parseInt(this.opt.maxNum), this.opt.startNum = Math.min(parseInt(this.opt.startNum), this.opt.maxNum), this._maxLen = this.opt.cont.width() - this.opt.knob.width() + 1, this.CHANGENUM = this.CLICK_CHANGENUM = 0, this.init()
        };
        a.prototype = {
            init: function () {
                var t = this, e = t.opt;
                if (e.cont && e.knob && e.step) {
                    if (e.startNum) {
                        var i = parseInt(e.startNum) / parseInt(e.maxNum) * t._maxLen;
                        if (e.grade) {
                            var a = t._maxLen / parseInt(e.grade);
                            t.CHANGENUM = Math.ceil(i / a), i = Math.min(t._maxLen, t.CHANGENUM / parseInt(e.grade) * t._maxLen)
                        } else t.CHANGENUM = e.startNum;
                        e.step.css("width", i), e.knob.css("left", i), e.showElem && e.showElem.length && e.showElem.html(t.CHANGENUM)
                    }
                    t.initEvent()
                }
            }, initEvent: function () {
                var t = this, e = t.opt;
                e.knob.on("mousedown", function (i) {
                    var a = (i || window.event).clientX, s = this.offsetLeft;
                    document.onselectstart = function () {
                        return !1
                    }, $(document).on("mousemove", function (i) {
                        var o = (i || window.event).clientX, n = Math.max(0, s + (o - a)), r = Math.min(t._maxLen, n);
                        if (e.grade) {
                            var l = t._maxLen / parseInt(e.grade);
                            t.CHANGENUM = Math.ceil(r / l), r = Math.min(t._maxLen, t.CHANGENUM / parseInt(e.grade) * t._maxLen)
                        } else t.CHANGENUM = Math.round(Math.max(0, r / t._maxLen) * e.maxNum);
                        e.step.css("width", r), e.knob.css("left", r), e.showElem && e.showElem.length && e.showElem.html(t.CHANGENUM), e.onDrag(t.CHANGENUM), window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty()
                    }), $(document).on("mouseup", function () {
                        $(this).off("mousemove"), $(this).off("mouseup"), e.callBack(t.CHANGENUM)
                    })
                }), $(document).on("click", function (i) {
                    i = i || window.event;
                    var a = i.target ? i.target : i.srcElement;
                    if (a == e.cont[0] || a == e.step[0] || a == e.stepBg[0]) {
                        var s = i.clientX, o = Math.round(e.cont.offset().left), n = Math.max(0, s - o);
                        to = Math.min(t._maxLen, n), t.CLICK_CHANGENUM = Math.round(Math.max(0, to / t._maxLen) * e.maxNum), e.step.css("width", to), e.knob.css("left", to), e.showElem && e.showElem.length && e.showElem.html(t.CLICK_CHANGENUM), e.onDrag(t.CLICK_CHANGENUM), e.callBack(t.CLICK_CHANGENUM)
                    }
                })
            }
        }, i.exports = a
    }, LTK["bz/www_play/barrageLogic"] = function (t, e, i) {
        playerEvent = t("bz/www_play/events");
        var a = {
            startHandler: function (t) {
                if (-1 == t.barrageJs)return !1;
                var e = $(".j-barrage");
                if (!e.length || $(".barrage_area").length)return !1;
                var i = '<div class="barrage_area"><span class="barrage_tit">弹幕</span><a href="javascript:;" class="barrage_btn"></a><a href="javascript:;" class="barrage_set"></a><span class="barrage_input"><input value="我的弹幕，发出我的态度"maxlength="50"><em class="barrage_num">50</em><em class="emoticon_icon"></em></span><a href="javascript:;" class="barrage_send">发送</a></div>', a = '<div class="barrage_panel" data-statectn="barrage_panel" data-itemhldr="a" k-name="stat-area"><ul class="barrage_tab"><li class="tab_send active">发送弹幕设置</li><li class="tab_show">显示弹幕设置</li></ul><div class="barrage_set_pop j_send_set"><div class="panel_lef set_font"><span>字号</span><div class="pstfont_cnt"><a href="javascript:;" class="big"></a><a href="javascript:;" class="mid"></a><a href="javascript:;" class="sma"></a></div></div><div class="panel_cen panel_pston set_pos"><span>位置</span><div class="pstoff_cnt"><a href="javascript:;" class="top"></a><a href="javascript:;" class="btm"></a><a href="javascript:;" class="norm"></a></div></div><div class="panel_rig set_color"><span>颜色</span><ul><li><a href="javascript:;" class="col-ffffff" data-color="ffffff"></a></li><li><a href="javascript:;" class="col-ed1c24" data-color="ed1c24"></a></li><li><a href="javascript:;" class="col-ff7f27" data-color="ff7f27"></a></li><li><a href="javascript:;" class="col-fff200" data-color="fff200"></a></li><li><a href="javascript:;" class="col-22b14c" data-color="22b14c"></a></li><li><a href="javascript:;" class="col-00a2e8" data-color="00a2e8"></a></li><li><a href="javascript:;" class="col-b97a57" data-color="b97a57"></a></li><li><a href="javascript:;" class="col-ffaec9" data-color="ffaec9"></a></li><li><a href="javascript:;" class="col-ffc90e" data-color="ffc90e"></a></li><li><a href="javascript:;" class="col-efe4b0" data-color="efe4b0"></a></li><li><a href="javascript:;" class="col-b5e61d" data-color="b5e61d"></a></li><li><a href="javascript:;" class="col-99d9ea" data-color="99d9ea"></a></li></ul></div></div><div class="barrage_set_pop j_show_set" style="display: none;"><div class="panel_cen panel_pstoff set_pst"><span>屏蔽弹幕</span><div class="pstoff_cnt"><a href="javascript:;" class="top"></a><a href="javascript:;" class="btm"></a><a href="javascript:;" class="norm"></a></div><div class="pstoff_cnt"><b>顶部</b><b>底部</b><b>滚动</b></div></div><div class="panel_pro set_opacity"><span>透明度</span><div class="progress"><div class="progressBg"></div><div class="progressBar"></div><span class="progress_btn"></span></div><span class="showNum"></span></div><div class="panel_pro set_maxnum"><span>同屏最大弹幕量</span><div class="num_tab"><a href="javascript:;" class="little">1/4屏</a><a href="javascript:;" class="middle">1/2屏</a><a href="javascript:;" class="much">全屏</a><a href="javascript:;" class="last">不限</a></div></div></div><div class="ico_juji_tarr panel_arrow"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div></div><span class="pop_jifen"></span>';
                e.append(i), e.append(a), this.initDom(t), this.initColorText(e), this.initEvent(t.barrageJs)
            }, initDom: function (e) {
                var i = window.__INFO__.video, e = e || {};
                this.dialog = t("bz/comment/utils").bindPhoneLayer(), this.defaultValue = $(".barrage_input input").attr("value"), this.currentVID = i.vid, this.sendData = {
                    vid: i.vid,
                    pid: 0 === i.pid ? null : i.pid,
                    cid: i.cid,
                    position: 4,
                    font: "m",
                    from: 1,
                    color: "ffffff",
                    type: "txt",
                    isIdentify: 1
                };
                var a = e.barrageSetting || e;
                this.effectData = {
                    densityBr: void 0 == a.densityBr ? 2 : a.densityBr,
                    alphaBr: void 0 == a.alphaBr ? 100 : a.alphaBr,
                    banRoll: void 0 == a.banRoll ? 1 : a.banRoll,
                    banBottom: void 0 == a.banBottom ? 1 : a.banBottom,
                    banTop: void 0 == a.banTop ? 1 : a.banTop
                }
            }, initColorText: function (e) {
                var i = this, a = 0;
                $.ajax({
                    url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/danmu/getEmojiList",
                    dataType: "jsonp",
                    data: {type: "1"},
                    success: function (t) {
                        var e = t.code, i = t.data;
                        if (200 == e) {
                            var a = s(i);
                            o(a), n()
                        }
                    }
                });
                var s = function (t) {
                    if (t && 0 != t.length) {
                        var e, s = t, o = [], n = [], r = [], l = [], c = [];
                        $.each(s, function (t, a) {
                            e = i.formatLength(a.emoji), e > 0 && 12 >= e ? (a.column = 1, o.push(a)) : e > 12 && 28 >= e ? (a.column = 2, n.push(a)) : e > 28 && 46 >= e ? (a.column = 3, r.push(a)) : e > 46 && 68 >= e && (a.column = 4, l.push(a))
                        }), c = c.concat(o, n, r, l);
                        for (var d = c.length, p = 0, h = 0, u = 0; d > u; u++) {
                            var m = p;
                            p += c[u].column, 4 == p && (p = 0), p > 4 && p % 4 != 0 && (c[u - 1].column += 4 - m, p = c[u].column)
                        }
                        return $.each(c, function (t, e) {
                            switch (h += e.column, e.column) {
                                case 1:
                                    e.colWidth = "80px";
                                    break;
                                case 2:
                                    e.colWidth = "180px";
                                    break;
                                case 3:
                                    e.colWidth = "280px";
                                    break;
                                case 4:
                                    e.colWidth = "380px"
                            }
                        }), a = Math.ceil(h / 4), c
                    }
                }, o = function (i) {
                    if (i && 0 != i.length) {
                        var a = t("air/util/tpl"), s = '<div class="emoticons_panel" data-statectn="emoticons_panel" data-itemhldr="a" k-name="stat-area"><div class="emotions_set_pop"><div class="emotions_list">', o = '<a href="javascript:;" style="width:{colWidth};">{emoji}</a>', n = '</div></div><div class="rollBar_emo"><a href="javascript:;" class="rollbar_btn_emo"></a></div><div class="ico_juji_tarr panel_arrow_emotions"><span class="arrow arrow_a"></span></div></div>';
                        emoticons_panel = "";
                        var r = new a(o);
                        emoticons_panel = s + r.render(i) + n, e.append(emoticons_panel)
                    }
                }, n = function () {
                    var e = null, s = null, o = $(".emoticon_icon"), n = $(".emoticons_panel"), r = $(".emotions_list a"), l = $(".barrage_input input"), c = $(".barrage_num"), d = $(".rollbar_btn_emo"), p = $(".emotions_set_pop"), h = $(".emotions_list"), u = r.height() + 10, m = t("air/ui/yDragBar");
                    new m({
                        $dragBar: d,
                        $cont: p,
                        $list: h,
                        contHeight: p.height(),
                        listHeight: u * a,
                        ifScroll: a > 3 ? 1 : 0
                    });
                    o.on({
                        mouseenter: function () {
                            e && clearTimeout(e), s = setTimeout(function () {
                                $(".barrage_panel").hide();
                                var t = $(this);
                                d.css("top", "0"), h.css("top", "0"), t.addClass("active"), n.show()
                            }, 200)
                        }, mouseleave: function () {
                            s && clearTimeout(s), e = setTimeout(function () {
                                o.removeClass("active"), n.hide()
                            }, 400)
                        }
                    }), n.on({
                        mouseenter: function () {
                            o.addClass("active"), e && clearTimeout(e), n.show()
                        }, mouseleave: function () {
                            e = setTimeout(function () {
                                o.removeClass("active"), n.hide()
                            }, 400)
                        }
                    }), r.on("click", function () {
                        var t = $.trim(l.attr("value") || ""), e = parseInt(c.text()), a = $(this).text(), s = a.length;
                        s > e && (a = a.substr(0, e)), t == i.defaultValue ? (l.focus(), l.attr("value", a).addClass("active")) : l.attr("value", t + a), l.focus();
                        var o = e - a.length;
                        0 > o && (o = 0), c.html(o)
                    })
                }
            }, initEvent: function (t) {
                var e = this, i = null, a = null, s = $(".barrage_btn "), o = $(".barrage_set"), n = $(".barrage_panel"), r = $(".barrage_tab li"), l = $(".barrage_send"), c = $(".barrage_input"), d = $(".barrage_input input"), p = $(".barrage_num"), h = $(".j_show_set"), u = $(".j_send_set");
                $(".a_jujiTemp");
                if (0 === t) {
                    s.removeClass("on");
                    try {
                        playerEvent.emit(playerEvent.CHANGE_BARRAGE_VISIBLE, !1)
                    } catch (m) {
                    }
                } else {
                    s.addClass("on");
                    try {
                        playerEvent.emit(playerEvent.CHANGE_BARRAGE_VISIBLE, !0)
                    } catch (m) {
                    }
                }
                s.on("click", function () {
                    var t = $(this);
                    if (t.hasClass("on")) {
                        t.removeClass("on"), d.attr({value: e.defaultValue}), d.removeClass("active"), p.html(50);
                        try {
                            playerEvent.emit(playerEvent.CHANGE_BARRAGE_VISIBLE, !1)
                        } catch (i) {
                        }
                    } else {
                        t.addClass("on");
                        try {
                            playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, e.effectData), playerEvent.emit(playerEvent.CHANGE_BARRAGE_VISIBLE, !0)
                        } catch (i) {
                        }
                    }
                }), o.on({
                    mouseenter: function () {
                        i && clearTimeout(i), a = setTimeout(function () {
                            $(".emoticons_panel").hide();
                            var t = $(this);
                            t.addClass("active"), n.show()
                        }, 200)
                    }, mouseleave: function () {
                        a && clearTimeout(a), i = setTimeout(function () {
                            o.removeClass("active"), n.hide()
                        }, 400)
                    }
                }), n.on({
                    mouseenter: function () {
                        o.addClass("active"), i && clearTimeout(i), n.show()
                    }, mouseleave: function () {
                        i = setTimeout(function () {
                            o.removeClass("active"), n.hide()
                        }, 400)
                    }
                }), r.on("click", function () {
                    var t = $(this);
                    r.removeClass("active"), t.addClass("active"), t.hasClass("tab_show") ? (h.show(), u.hide()) : t.hasClass("tab_send") && (u.show(), h.hide())
                }), e.initSendPanelSet(), e.initShowPanelSet(), d.on({
                    focus: function () {
                        var t = $(this), i = $.trim(t.attr("value") || "");
                        i === e.defaultValue && t.attr("value", ""), $(this).addClass("active")
                    }, blur: function () {
                        var t = $(this), i = $.trim(t.attr("value") || "");
                        i ? i == e.defaultValue ? (e.sendData.txt = "", p.html(50)) : e.sendData.txt = i : (t.attr("value", e.defaultValue), e.sendData.txt = "", $(this).removeClass("active"), p.html(50))
                    }, keyup: function () {
                        var t = $(this), e = t.val(), i = 50 - e.length, a = $(".barrage_num");
                        0 > i && a.html(0), a.html(i)
                    }
                });
                var v = !1, f = function () {
                    if (v)return !1;
                    if (v = !0, !Spirit.UserValidate.getUserInfo())return Spirit.userLogin.openLetvLogin(), v = !1, !1;
                    if (e.sendData.txt = d.attr("value"), "" == d.val() && e.sendData.txt == e.defaultValue, e.sendData.txt == e.defaultValue)return v = !1, !1;
                    if (!s.hasClass("on")) {
                        s.addClass("on");
                        try {
                            playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, e.effectData), playerEvent.emit(playerEvent.CHANGE_BARRAGE_VISIBLE, !0)
                        } catch (t) {
                        }
                    }
                    try {
                        e.sendData.start = parseInt(playerEvent.emit(playerEvent.GET_VIDEO_TIME), 10)
                    } catch (t) {
                        e.sendData.start = 0
                    }
                    $.ajax({
                        data: e.sendData,
                        dataType: "jsonp",
                        url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/danmu/add",
                        success: function (t) {
                            var i = t.code, a = t.data, s = $(".j-barrage .pop_jifen");
                            if ($(".barrage_num").html(50), 200 == i) {
                                var o = a.addCredit;
                                o && s.text("赚得积分+" + o).show().animate({top: "-65px", opacity: "0"}, 3e3, function () {
                                    s.css({top: "-25px", opacity: "1"}).hide()
                                }), d.attr("value", "发送成功"), d.attr("disabled", !0), window.setTimeout(function () {
                                    d.attr("value", ""), d.removeAttr("disabled"), d.focus(), v = !1
                                }, 1500);
                                try {
                                    playerEvent.emit(playerEvent.PUSH_BARRAGE_DATA, a)
                                } catch (n) {
                                }
                            } else if (403 == i || 400 == i) {
                                v = !1;
                                try {
                                    playerEvent.emit(playerEvent.PUSH_BARRAGE_DATA, a)
                                } catch (n) {
                                }
                            } else if (405 == i) {
                                e.dialog.bindPhone.show(), v = !1;
                                try {
                                    playerEvent.emit(playerEvent.PUSH_BARRAGE_DATA, a)
                                } catch (n) {
                                }
                            } else d.attr("value", a), d.attr("disabled", !0), window.setTimeout(function () {
                                d.removeClass("active"), d.attr("value", e.defaultValue), d.removeAttr("disabled"), v = !1
                            }, 1500);
                            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=danmu&link=send"})
                        }
                    })
                };
                l.click(function () {
                    f()
                }), c.on({
                    keydown: function (t) {
                        13 == t.which && f()
                    }
                }), playerEvent.on(playerEvent.PLAYER_VIDEO_COMPLETE, e.removeBarrage), playerEvent.on(playerEvent.PLAYER_PLAY_NEXT, e.removeBarrage)
            }, initSendPanelSet: function () {
                var t = this, e = Cookie.get("play_font"), i = Cookie.get("play_position"), a = Cookie.get("play_color");
                "l" == e ? ($(".set_font .big").addClass("active"), t.sendData.font = "l") : "s" == e ? ($(".set_font .sma").addClass("active"), t.sendData.font = "s") : ($(".set_font .mid").addClass("active"), t.sendData.font = "m"), 1 == i ? ($(".set_pos .top").addClass("active"), t.sendData.position = 1) : 3 == i ? ($(".set_pos .btm").addClass("active"), t.sendData.position = 3) : ($(".set_pos .norm").addClass("active"), t.sendData.position = 4), a ? (t.sendData.color = a, $(".col-" + t.sendData.color).parent().addClass("active")) : (t.sendData.color = "ffffff", $(".col-ffffff").parent().addClass("active")), $(".set_font a").click(function () {
                    $(".set_font a").removeClass("active"), $(this).addClass("active"), $(this).hasClass("big") ? t.sendData.font = "l" : $(this).hasClass("sma") ? t.sendData.font = "s" : t.sendData.font = "m", Cookie.set("play_font", t.sendData.font, {exp: "forever"})
                }), $(".set_pos a").click(function () {
                    $(".set_pos a").removeClass("active"), $(this).addClass("active"), $(this).hasClass("top") ? t.sendData.position = 1 : $(this).hasClass("btm") ? t.sendData.position = 3 : t.sendData.position = 4, Cookie.set("play_position", t.sendData.position, {exp: "forever"})
                }), $(".set_color ul li").click(function () {
                    $(".set_color ul li").removeClass("active"), $(this).addClass("active"), t.sendData.color = $(this).find("a").attr("data-color") || "ffffff", Cookie.set("play_color", t.sendData.color, {exp: "forever"})
                })
            }, initShowPanelSet: function () {
                var e, i = this, a = $(".progress_btn"), s = i.effectData.banTop;
                2 == s ? $(".set_pst .top").addClass("active") : $(".set_pst .top").removeClass("active");
                var o = i.effectData.banBottom;
                2 == o ? $(".set_pst .btm").addClass("active") : $(".set_pst .btm").removeClass("active");
                var n = i.effectData.banRoll;
                2 == n ? $(".set_pst .norm").addClass("active") : $(".set_pst .rorm").removeClass("active");
                var r = i.effectData.densityBr;
                0 == r ? $(".set_maxnum .little").addClass("cur") : 1 == r ? $(".set_maxnum .middle").addClass("cur") : -1 == r ? $(".set_maxnum .last").addClass("cur") : (i.effectData.densityBr = 2, $(".set_maxnum .much").addClass("cur"));
                var l = i.effectData.alphaBr + "%";
                $(".set_opacity .showNum").html(l), a.on({
                    mouseenter: function () {
                        $(this).addClass("active")
                    }, mouseleave: function () {
                        $(this).removeClass("active")
                    }
                }), $(".set_pst .top").click(function () {
                    var t;
                    $(this).hasClass("active") ? (t = 1, $(this).removeClass("active")) : (t = 2, $(this).addClass("active")), t != i.effectData.banTop && (i.effectData.banTop = t, playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, i.effectData))
                }), $(".set_pst .btm").click(function () {
                    var t;
                    $(this).hasClass("active") ? (t = 1, $(this).removeClass("active")) : (t = 2, $(this).addClass("active")), t != i.effectData.banBottom && (i.effectData.banBottom = t, playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, i.effectData))
                }), $(".set_pst .norm").click(function () {
                    var t;
                    $(this).hasClass("active") ? (t = 1, $(this).removeClass("active")) : (t = 2, $(this).addClass("active")), t != i.effectData.banRoll && (i.effectData.banRoll = t, playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, i.effectData))
                }), $(".set_maxnum a").click(function () {
                    var t;
                    $(".set_maxnum a").removeClass("cur"), $(this).addClass("cur"), t = $(this).hasClass("little") ? 0 : $(this).hasClass("middle") ? 1 : $(this).hasClass("last") ? -1 : 2, t != i.effectData.densityBr && (i.effectData.densityBr = t, playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, i.effectData))
                });
                var c = t("air/ui/dragSlider");
                e || (e = new c({
                    cont: $(".set_opacity .progress"),
                    knob: $(".set_opacity .progress_btn"),
                    step: $(".set_opacity .progressBar"),
                    stepBg: $(".set_opacity .progressBg"),
                    startNum: i.effectData.alphaBr,
                    maxNum: 100,
                    onDrag: function (t) {
                        var e = t + "%";
                        $(".set_opacity .showNum").html(e), $(".set_opacity .progress_btn").addClass("active")
                    },
                    callBack: function (t) {
                        t != i.effectData.alphaBr && (i.effectData.alphaBr = parseInt(t), playerEvent.emit(playerEvent.SET_EFFECT_BARRAGE, i.effectData)), $(".set_opacity .progress_btn").removeClass("active")
                    }
                }))
            }, formatLength: function (t) {
                for (var e = 0, i = 0, a = t.length; a > i; i += 1)e += t.charCodeAt(i) > 255 ? 2 : 1;
                return e
            }, openBarrage: function () {
                var t = $(".barrage_btn ");
                if (t.length && !t.hasClass("on")) {
                    t.addClass("on");
                    try {
                        document.getElementById("www_player").setChangeBarrage(!0)
                    } catch (e) {
                    }
                }
            }, closeBarrage: function () {
                var t = $(".barrage_btn "), e = $(".barrage_input input"), i = $(".barrage_num");
                if (t.length && t.hasClass("on")) {
                    t.removeClass("on"), e.attr({value: self.defaultValue}), e.removeClass("active"), i.html(50);
                    try {
                        document.getElementById("www_player").setChangeBarrage(!1)
                    } catch (a) {
                    }
                }
            }, removeBarrage: function () {
                var t = $(".j-barrage"), e = $(".emoticons_panel");
                return t.length ? (e.length && e.remove(), $(".barrage_area").remove(), void $(".barrage_panel").remove()) : !1
            }
        };
        i.exports = a
    }, require("bz/www_play/barrageLogic"), LTK["bz/play/app"] = function (t, e, i) {
        var a = {
            init: function (t) {
                if (/from=appjump/.test(window.location.href))return !1;
                t = t || {};
                var e = __INFO__ || {}, i = e.video || {}, a = t.vid ? t.vid : i.vid, s = t.vid ? 0 : i.pid, o = LETV.Utils.getQuery("id"), n = a ? 0 : "", r = "";
                r = /live\.letv\.com/.test(location.href) ? "iPadLetvClient://msiteAction?actionType=3&streamid=" + (o || 0) + "&from=pcsite" : "iPadLetvClient://msiteAction?actionType=" + n + "&vid=" + (a || 0) + "&pid=" + (s || 0) + "&from=pcsite";
                var l = "https://itunes.apple.com/cn/app/le-shi-ying-shihd/id412395632?mt=8", c = document.createElement("iframe");
                c.style.display = "none";
                var d, p = document.body, h = function (e, i) {
                    !t.isOnlyOpen && i && (location.href = l), window.removeEventListener("pagehide", u, !0), window.removeEventListener("pageshow", u, !0), c && (c.onload = null, p.removeChild(c), c = null)
                }, u = function (t) {
                    clearTimeout(d), h(t, !1)
                };
                window.addEventListener("pagehide", u, !0), window.addEventListener("pageshow", u, !0), c.onload = h, c.src = r, p.appendChild(c);
                var m = +new Date;
                d = setTimeout(function () {
                    d = setTimeout(function () {
                        var t = +new Date;
                        m - t > 1300 ? h(null, !1) : h(null, !0)
                    }, 1200)
                }, 60)
            }
        };
        i.exports = a
    }, LTK["bz/www_play/playLogic"] = function (t, e, i) {
        function a() {
            if (LETV.PLYAER_STATE = "INITING", -1 != location.href.indexOf(LETV.CONSTANT.host.YUANXIAN_LETV_COM)) {
                var t = location.hash;
                if (t.length > 0 && "#1" != t) {
                    var e = function (t) {
                        return -1 != navigator.appName.indexOf("Microsoft") ? window[t] : document[t]
                    }, i = function (t) {
                        var e = $("#j_jujiarea_up_simple .partList a"), i = null;
                        return e.each(function () {
                            var e = $(this);
                            e.attr("data-key") == t && (i = e.attr("data-vid"))
                        }), i
                    };
                    i(t.replace("#", ""));
                    e("FLASHPLAYER_YUANXIAN").playNewId
                }
            }
        }

        function s(t) {
            LETV.PLYAER_STATE = "START", k.startHandler(t)
        }

        function o(t) {
            var e = S.playlist;
            e && e.isNarrow && 1 == e.isNarrow && $(".EP-list") && $(".EP-list").hide();
            $(document).width();
            t.width = t.width > 970 ? 970 : t.width, t.width > 970 && (t.height = t.width / 970 * t.height), $("#fla_box embed,#fla_box object,#fla_box").css({
                width: t.width,
                height: t.height
            })
        }

        function n(t) {
            try {
                var e = S.playlist;
                e && e.isNarrow && 1 == e.isNarrow && $(".EP-list") && $(".EP-list").show(), $("#fla_box embed,#fla_box #www_player,#fla_box").css({
                    width: t.width + "px",
                    height: t.height + "px"
                })
            } catch (i) {
            }
        }

        function r(t) {
            var e;
            if (1009 == S.cid || 3 == S.cid) {
                var i = $(".rollBox .juji_cnt a").attr("data-vtype"), a = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                e = "xiangguan" === i && a
            }
            if (11 == S.cid) {
                var i = $(".rollBox .juji_cnt a").attr("data-vtype"), a = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                e = "listing" === i && a
            }
            if (2 == S.cid) {
                var i = $(".rollBox .juji_cnt a").attr("data-vtype"), a = $(".rollBox .juji_cnt .juji_grid").has("a.cur").length ? !0 : !1;
                e = "episode" === i && a
            }
            var s = C.isShortVideo && !C.isVarietyShow || C.isSingleVideo;
            if (C.childNotVarietyShow && (s = !1), s || e) {
                var o = "";
                return o = 11 == S.cid ? T.emit("getNextZYPointVid") : 2 == S.cid ? T.emit("getNextTVPageVid") : T.emit("getNextRecVid"), o ? (setTimeout(function () {
                    T.emit(T.PLAY_THIS, o)
                }, 10), {status: "pageContinue", "continue": "1"}) : {status: "recommend"}
            }
            return w(t)
        }

        function l() {
            window.location.reload()
        }

        function c() {
            try {
                LETV.Utils.gotoAnchor(".Comment")
            } catch (t) {
            }
        }

        function d() {
            try {
                $(".j-share").click(), LETV.Utils.gotoAnchor(".Interact")
            } catch (t) {
            }
        }

        function p() {
            try {
                $(".j-follow").click(), LETV.Utils.gotoAnchor(".Interact")
            } catch (t) {
            }
        }

        function h(t) {
            if (LocalStore.ready(function () {
                    var t = Stats.getLC ? Stats.getLC() : 0, e = t.lastIndexOf("aa");
                    if (30 == e) {
                        var i = (Cookie.get("stat_type"), Cookie.get("stat_num"));
                        i = parseInt(i) + 1;
                        var a = new Image(1, 1);
                        a.onload = a.onerror = a.onabort = function () {
                            a.onload = a.onerror = a.onabort = null, a = null
                        }, a.src = "http://" + LETV.CONSTANT.host.M_LETV_COM + "/dc.gif?from=play&type=old&num=" + i + "&cid=" + S.video.cid + "&pid=" + S.video.pid + "&t=" + (new Date).getTime(), Cookie.set("stat_type", 1, {exp: "forever"}), Cookie.set("stat_num", i, {exp: "forever"})
                    }
                }), window.callbackJs)return window.callbackJs("PLAYER_VIDEO_COMPLETE", t);
            if ("tw" == S.areatype)return b();
            if ("opensite" == S.areatype) {
                var e = S.video.nextvid;
                return e = e ? "/vplay/" + e + ".html" : $(".list-wrap").find(".getNextRecommendVidlected").next().find("a").attr("href"), window.nextVideoSrc = e, b()
            }
            var i;
            if (1009 == S.cid || 3 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                i = "xiangguan" === a && s
            }
            if (11 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                i = "listing" === a && s
            }
            if (2 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt .juji_grid").has("a.cur").length ? !0 : !1;
                i = "episode" === a && s
            }
            var o = C.isShortVideo && !C.isVarietyShow || C.isSingleVideo;
            return C.childNotVarietyShow && (o = !1), o || 23941833 === __INFO__.vid || i ? (11 == S.cid ? nextvid = T.emit("getNextZYPointVid") : 2 == S.cid ? nextvid = T.emit("getNextTVPageVid") : nextvid = T.emit("getNextRecVid"), nextvid ? (setTimeout(function () {
                T.emit(T.PLAY_THIS, nextvid)
            }, 10), {status: "pageContinue", "continue": "1"}) : {status: "recommend"}) : w(t)
        }

        function u(t) {
            if ("opensite" == S.areatype) {
                var e = window.nextVideoSrc;
                return e && e.length ? {status: "pageContinue"} : {status: "recommend"}
            }
            var i;
            if (1009 == S.cid || 3 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                i = "xiangguan" === a && s
            }
            if (11 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt").has("a.cur").length ? !0 : !1;
                i = "listing" === a && s
            }
            if (2 == S.cid) {
                var a = $(".rollBox .juji_cnt a").attr("data-vtype"), s = $(".rollBox .juji_cnt .juji_grid").has("a.cur").length ? !0 : !1;
                i = "episode" === a && s
            }
            var o = C.isShortVideo && !C.isVarietyShow || C.isSingleVideo;
            C.childNotVarietyShow && (o = !1);
            var n;
            if (o || i) {
                if (n = 11 == S.cid ? T.emit("getNextZYPointVid") : 2 == S.cid ? T.emit("getNextTVPageVid") : T.emit("getNextRecVid"))return {
                    nextvid: n,
                    status: "pageContinue"
                }
            } else if (n = t.nextvid, n && "0" != n)return {nextvid: n, status: "playerContinue"};
            return {status: "recommend"}
        }

        function m(t) {
            try {
                LETV.App.Play.MobileFirst.detailTipShow(t)
            } catch (e) {
            }
        }

        function v(t) {
            try {
                return LETV.App.Play.MobileFirst.simpleTipShow(t), "1"
            } catch (e) {
            }
        }

        function f(e) {
            t("bz/play/app").init(e.vid), Stats && Stats.sendAction({ap: "ch=all&pg=play&bk=player&link=Ipaddaoliu"})
        }

        function _() {
            try {
                var e = t("bz/comment/utils").bindPhoneLayer();
                e.bindPhone.show()
            } catch (i) {
            }
        }

        function g() {
            k.closeBarrage()
        }

        function y() {
            k.openBarrage()
        }

        function b() {
            var t = window.nextVideoSrc;
            return t && t.length > 0 ? (location.href = t, {status: "pageContinue"}) : {status: "recommend"}
        }

        function w(t) {
            if (location.host === LETV.CONSTANT.host.YUANXIAN_LETV_COM)return void set_Current(t);
            var e = LETV.using.call(window, "__INFO__");
            return 11 == e.cid && e.video && "正片" == e.video.videotypeName && T.emit("REFRESH_ZY_LISTING", t.nextvid, e.pid), t.nextvid && "0" != t.nextvid ? {status: "playerContinue"} : {status: "recommend"}
        }

        var T = t("bz/www_play/events"), C = t("bz/www_play/isShortVideo"), k = t("bz/www_play/barrageLogic"), S = LETV.using.call(window, "__INFO__");
        LETV.PLYAER_STATE = "NOT_INIT", T.on(T.PLAYER_INIT, a), T.on(T.PLAYER_VIDEO_PLAY, s), T.on(T.PLAYER_LAMUAD_START, o), T.on(T.PLAYER_LAMUAD_END, n), T.on(T.PLAYER_PLAY_NEXT, r), T.on(T.USE_TICKET_SUCCESS, l), T.on(T.ANCHOR_COMMENT, c), T.on(T.ANCHOR_SHARE, d), T.on(T.ANCHOR_ZHUIJU, p), T.on(T.PLAYER_VIDEO_COMPLETE, h), T.on(T.PLAYER_GET_NEXT_VID, u), T.on(T.PLAYER_FIRSTLOOK, m), T.on(T.CLICK_FIRSTLOOK, v), T.on(T.OPEN_APP, f), T.on(T.COMMENT_REALNAME_BAN, _), T.on(T.CLOSE_BARRAGE, g), T.on(T.OPEN_BARRAGE, y)
    }, require("bz/www_play/playLogic"), !function (t) {
        function e() {
            var t = {};
            return t.userid = __INFO__ && __INFO__.playlist && __INFO__.playlist.userId, k == t.userid ? ($("#video_author").text(g.nickname), void $("#author_img").attr("src", g.picture)) : (k = t.userid, void $.ajax({
                url: "http://" + LETV.CONSTANT.host.API_CHUANG_LETV_COM + "/outer/ugc/video/user/videocount",
                data: t,
                dataType: "jsonp",
                success: function (e) {
                    if (e && 200 == e.statusCode)if (g = e.data, $("#video_author").text(g.nickname), $("#author_img").attr("src", g.picture), g.videocount > C - 1) {
                        var i = {};
                        i.userid = t.userid, i.videocount = g.videocount > 100 ? 100 : g.videocount, a(i)
                    } else n(); else n()
                },
                error: function () {
                    n()
                }
            }))
        }

        function a(t) {
            var e = {};
            e.userid = t.userid, e.page = 1, e.pagesize = t.videocount, y = {}, b = [], w = [], $.ajax({
                url: "http://api.chuang.le.com/outer/ugc/video/user/videolist",
                data: e,
                dataType: "jsonp",
                success: function (t) {
                    if (t && 200 == t.statusCode) {
                        var e, i = t.data.items || [], a = i.length;
                        if (a > C - 1) {
                            for (var o = 0; a > o; o++)e = i[o].vid || -1, e > 0 && (y[e] = i[o], b.push(e));
                            s()
                        } else n()
                    } else n()
                },
                error: function () {
                    n()
                }
            })
        }

        function s() {
            var t = {};
            t.type = "vlist",
                t.ids = b.toString(), $.ajax({
                url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/getIdsInfo",
                data: t,
                dataType: "jsonp",
                success: function (t) {
                    var e = t.length || 0;
                    if (e > C - 1) {
                        for (t.sort(o), t.length = C, i = 0; i < t.length; i++)w[i] = y[t[i].id];
                        n(w)
                    } else n()
                },
                error: function () {
                    n()
                }
            })
        }

        function o(t, e) {
            return t.play_count == e.play_count ? 0 : t.play_count > e.play_count ? -1 : 1
        }

        function n(t) {
            if (!t || t.length < 5)return void $("#user_upload").html("");
            var e;
            e = r() + l(t), $("#user_upload").html(e)
        }

        function r() {
            return '<div class="column_title" data-statectn="userUP_tit" data-itemhldr="span" k-name="stat-area"><h2 class="le_play_recom_tit"><span title="用户上传">用户上传</span></h2></div>'
        }

        function l(t) {
            for (var e = '<div class="column_body"><div class="le_reying_con" data-statectn="userUP_cnt" data-itemhldr="a" k-name="stat-area">', i = 0; i < t.length; i++)e += c(t[i]);
            return e += "</div></div>"
        }

        function c(t) {
            var e = videoTitle = t.title || "", i = t.playUrl || "", a = t.videoPicStr || "", s = '<a title="' + videoTitle + '" target="_blank" href="' + i + '" class="a_temp double_line"><span class="d_img"><img src="' + a + '" style="display: block;"><b class="bg"></b></span><span class="d_tit">' + e + "</span></a>";
            return s
        }

        function d() {
            var t = {};
            return t.userid = __INFO__ && __INFO__.playlist && __INFO__.playlist.userId, k == t.userid ? ($("#video_author").text(T.nickname), void $("#author_img").attr("src", T.picture)) : (k = t.userid, void $.ajax({
                url: "http://" + LETV.CONSTANT.host.API_CHUANG_LETV_COM + "/outer/ugc/video/user/videocount",
                data: t,
                dataType: "jsonp",
                success: function (t) {
                    t && 200 == t.statusCode && (T = t.data, $("#video_author").text(T.nickname), $("#author_img").attr("src", T.picture))
                }
            }))
        }

        var p = !0, h = t("bz/www_play/events"), u = t("bz/www_play/isShortVideo"), m = __INFO__.video && __INFO__.video.vid, v = u.isShortVideo && !u.isVarietyShow || u.isSingleVideo;
        u.childNotVarietyShow && (v = !1), h.on(h.PLAYER_VIDEO_COMPLETE, function (t) {
            (v || null == t.nextvid || "0" == t.nextvid) && (p = !1)
        }), h.on(h.PLAY_THIS, function (t) {
            p = !0
        });
        var f = !1;
        h.on(h.PLAYER_INIT, function (t) {
            t && t.id && t.id != m && (f = !0), f ? p && (_.play(t.id), Stats.sendAction({
                acode: "0",
                ap: "ch=www&pg=play_v1&bk=player&link=continuous_play"
            })) : __INFO__ && __INFO__.video && (200031 == __INFO__.video.sourceId ? d() : (30 == __INFO__.video.cid || 1029 == __INFO__.video.cid) && e()), f = !0
        });
        var _ = {
            play: function (t) {
                if (t) {
                    this.setHisVid(t);
                    var e = this, i = "http://" + LETV.CONSTANT.host.STATIC_API_LETV_COM + "/extract/new/" + t + ".json?callback=?";
                    $.getJSON(i, function (i) {
                        e.dataLoaded(i.data, t)
                    })
                }
            }, dataLoaded: function (i, a) {
                var s = this, o = decodeURIComponent(i.info);
                __INFO__.video.cid;
                o = o.replace("var __INFO__", "__INFO__"), $(document.body).prepend(o), setTimeout(function () {
                    var e = (__INFO__.playlist, __INFO__.video), o = e.title || e.nameCnContent || "", n = o + " - 在线观看 - 乐视网";
                    if (window.nextVid = e.nextvid || "", window.history && window.history.pushState) {
                        var r = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + a + ".html#vid=" + a, l = {
                            title: n,
                            url: r
                        };
                        try {
                            window.history.pushState(l, n, r)
                        } catch (c) {
                        }
                    }
                    document.title = n, $.browser.msie && (document.onpropertychange = function (t) {
                        t = t || window.event, "title" === t.propertyName && 0 === document.title.indexOf("#") && setTimeout(function () {
                            document.title = n
                        }, 1)
                    });
                    var d = t("air/util/clip");
                    $(".j-video-name").attr("title", o).html(d(o, 70, "...")), i.vid = a, h.emit(h.PLAY_VIDEO, i), s.setStat()
                }, 10), __INFO__ && __INFO__.video && (200031 == __INFO__.video.sourceId ? (0 == $(".Info_hot").length && $(".Info").length > 0 && $(".Info").attr("class", "Info_hot"), $(".Info_hot").html(decodeURIComponent(i.detail)), d()) : 30 == __INFO__.video.cid || 1029 == __INFO__.video.cid ? (0 == $(".Info_hot").length && $(".Info").length > 0 && $(".Info").attr("class", "Info_hot"), $(".Info_hot").html(decodeURIComponent(i.detail)), e()) : (0 == $(".Info").length && $(".Info_hot").length > 0 && $(".Info_hot").attr("class", "Info"), $(".Info").html(decodeURIComponent(i.detail))))
            }, setStat: function () {
                var t = __INFO__, e = t.video || {};
                if (4 == e.cid) {
                    var i = document.createElement("script"), a = document.getElementsByTagName("script")[0];
                    i.type = "text/javascript", i.async = !0, i.onload = function () {
                        LocalStore.ready(function () {
                            window.vjAcc = e.matchId >= 0 ? "860010-2368020100" : "860010-2368020200", vjEventTrack(Stats.getLC())
                        })
                    }, i.src = "http://c.wrating.com/a1.js", a.parentNode.insertBefore(i, a)
                }
                _comscore = [{c1: "2", c2: "8640631"}], $(function () {
                    var t = document.createElement("script"), e = document.getElementsByTagName("script")[0];
                    t.type = "text/javascript", t.async = !0, t.src = ("https:" == document.location.protocol ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js", e.parentNode.insertBefore(t, e)
                }), Stats.data = {
                    cid: e.cid || "-",
                    pid: e.pid || "-",
                    vid: e.vid || "-",
                    cur_url: window.location.href
                }
            }, loadImg: function (t) {
                t.find("img[data-src]").each(function () {
                    var t = $(this);
                    $("<img />").bind("load", function () {
                        t.attr("src", t.attr("data-src"))
                    }).attr("src", t.attr("data-src"))
                })
            }, setHisVid: function (t) {
                var e, i = Cookie.get("his_vid");
                if (i) {
                    for (i = i.split("-"), e = i.length; e--;)if (i[e] === t) {
                        i.splice(e, 1);
                        break
                    }
                } else i = [];
                t && (i.unshift(t), i.length > 10 && i.pop(10), Cookie.set("his_vid", i.join("-"), {exp: "forever"}))
            }
        };
        $(".Info").on("click", ".info_list a", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=info"})
        });
        var g, y, b, w, T, C = 5, k = -1
    }(require), LTK["bz/www_play/episodeList/episodeListJujiBar"] = function (t, e, i) {
        "use strict";
        var a = function () {
            this.init()
        };
        a.prototype = {
            constructor: a, init: function () {
                this.initDom()
            }, initDom: function () {
                this.playListEvent = t("bz/www_play/events"), this.$listContener = $(".le_jujibox"), this.$rollBox = $(".le_jujiCnt .rollBox"), this.$monthBox = $(".juji_monthBox"), this.jujiBarDom = null, this.isOver = !1, this.isComplete = !1
            }, initBox: function (t, e, i) {
                t && e || (this.hideBar = !0), this.jujiBarDom = null;
                var a = {current: t, total: e};
                t == e && (this.isOver = !0), this.isComplete = !!i, this.jujiBarDomStr = this.initViewed(a)
            }, initViewed: function (t) {
                var e = "";
                this.isOver ? (e = '<div class="juji_bar j_jujiBar">共{total}集</div>', this.isComplete || (e = '<div class="juji_bar j_jujiBar">更新至{current}集</div>')) : e = '<div class="juji_bar j_jujiBar">更新至{current}集 / 共{total}集</div>';
                var i = new Tpl(e);
                return i.render(t)
            }, showBox: function () {
                this.jujiBarDom = $(this.jujiBarDomStr);
                var t = $(".j_genboBar");
                t && t.length > 0 ? t.before(this.jujiBarDom) : this.$rollBox.before(this.jujiBarDom), this.jujiBarDom.show()
            }, hideBox: function () {
                this.jujiBarDom && this.jujiBarDom.hide()
            }
        }, i.exports = a
    }, window.IScroll = function (t, e, i) {
        function a(t, i) {
            this.wrapper = "string" == typeof t ? e.querySelector(t) : t, this.scroller = this.wrapper.children[0], this.scrollerStyle = this.scroller.style, this.items = this.scroller.children, this.itemsLen = this.items.length, this.options = {
                resizeIndicator: !0,
                mouseWheelSpeed: 20,
                snapThreshold: .334,
                startX: 0,
                startY: 0,
                scrollY: !0,
                directionLockThreshold: 5,
                momentum: !0,
                bounce: !0,
                bounceTime: 600,
                bounceEasing: "",
                preventDefault: !0,
                HWCompositing: !0,
                useTransition: !0,
                useTransform: !0
            };
            for (var a in i)this.options[a] = i[a];
            this.translateZ = this.options.HWCompositing && r.hasPerspective ? " translateZ(0)" : "", this.options.useTransition = r.hasTransition && this.options.useTransition, this.options.useTransform = r.hasTransform && this.options.useTransform, this.options.eventPassthrough = this.options.eventPassthrough === !0 ? "vertical" : this.options.eventPassthrough, this.options.preventDefault = !this.options.eventPassthrough && this.options.preventDefault, this.options.scrollY = "vertical" == this.options.eventPassthrough ? !1 : this.options.scrollY, this.options.scrollX = "horizontal" == this.options.eventPassthrough ? !1 : this.options.scrollX, this.options.freeScroll = this.options.freeScroll && !this.options.eventPassthrough, this.options.directionLockThreshold = this.options.eventPassthrough ? 0 : this.options.directionLockThreshold, this.options.bounceEasing = "string" == typeof this.options.bounceEasing ? r.ease[this.options.bounceEasing] || r.ease.circular : this.options.bounceEasing, this.options.resizePolling = void 0 === this.options.resizePolling ? 200 : this.options.resizePolling, this.options.tap === !0 && (this.options.tap = "tap"), this.options.invertWheelDirection = this.options.invertWheelDirection ? -1 : 1, this.x = 0, this.y = 0, this.directionX = 0, this.directionY = 0, this._events = {}, this._init(), this.refresh(), this.scrollTo(this.options.startX, this.options.startY), this.enable()
        }

        function s(t, i, a) {
            var s = e.createElement("div"), o = e.createElement("div");
            return a === !0 && (s.style.cssText = "position:absolute;z-index:9999", o.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"), o.className = "iScrollIndicator", "h" == t ? (a === !0 && (s.style.cssText += ";height:7px;left:2px;right:2px;bottom:0", o.style.height = "100%"), s.className = "iScrollHorizontalScrollbar") : (a === !0 && (s.style.cssText += ";width:7px;bottom:2px;top:2px;right:1px", o.style.width = "100%"), s.className = "iScrollVerticalScrollbar"), i || (s.style.pointerEvents = "none"), s.appendChild(o), s
        }

        function o(i, a) {
            this.wrapper = "string" == typeof a.el ? e.querySelector(a.el) : a.el, this.indicator = this.wrapper.children[0], this.indicatorStyle = this.indicator.style, this.scroller = i, this.options = {
                listenX: !0,
                listenY: !0,
                interactive: !1,
                resize: !0,
                defaultScrollbars: !1,
                speedRatioX: 0,
                speedRatioY: 0
            };
            for (var s in a)this.options[s] = a[s];
            this.sizeRatioX = 1, this.sizeRatioY = 1, this.maxPosX = 0, this.maxPosY = 0, this.options.interactive && (r.addEvent(this.indicator, "touchstart", this), r.addEvent(this.indicator, "MSPointerDown", this), r.addEvent(this.indicator, "mousedown", this), r.addEvent(t, "touchend", this), r.addEvent(t, "MSPointerUp", this), r.addEvent(t, "mouseup", this))
        }

        var n = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || t.msRequestAnimationFrame || function (e) {
                t.setTimeout(e, 1e3 / 60)
            }, r = function () {
            function a(t) {
                return n === !1 ? !1 : "" === n ? t : n + t.charAt(0).toUpperCase() + t.substr(1)
            }

            var s = {}, o = e.createElement("div").style, n = function () {
                for (var t, e = ["t", "webkitT", "MozT", "msT", "OT"], i = 0, a = e.length; a > i; i++)if (t = e[i] + "ransform", t in o)return e[i].substr(0, e[i].length - 1);
                return !1
            }();
            s.getTime = Date.now || function () {
                    return (new Date).getTime()
                }, s.extend = function (t, e) {
                for (var i in e)t[i] = e[i]
            }, s.addEvent = function (t, e, i, a) {
                t.addEventListener(e, i, !!a)
            }, s.removeEvent = function (t, e, i, a) {
                t.removeEventListener(e, i, !!a)
            }, s.momentum = function (t, e, a, s, o) {
                var n, r, l = t - e, c = i.abs(l) / a, d = 6e-4;
                return n = t + c * c / (2 * d) * (0 > l ? -1 : 1), r = c / d, s > n ? (n = o ? s - o / 2.5 * (c / 8) : s, l = i.abs(n - t), r = l / c) : n > 0 && (n = o ? o / 2.5 * (c / 8) : 0, l = i.abs(t) + n, r = l / c), {
                    destination: i.round(n),
                    duration: r
                }
            };
            var r = a("transform");
            return s.extend(s, {
                hasTransform: r !== !1,
                hasPerspective: a("perspective") in o,
                hasTouch: "ontouchstart" in t,
                hasPointer: navigator.msPointerEnabled,
                hasTransition: a("transition") in o
            }), s.isAndroidBrowser = /Android/.test(t.navigator.appVersion) && /Version\/\d/.test(t.navigator.appVersion), s.extend(s.style = {}, {
                transform: r,
                transitionTimingFunction: a("transitionTimingFunction"),
                transitionDuration: a("transitionDuration"),
                transformOrigin: a("transformOrigin")
            }), s.hasClass = function (t, e) {
                var i = new RegExp("(^|\\s)" + e + "(\\s|$)");
                return i.test(t.className)
            }, s.addClass = function (t, e) {
                if (!s.hasClass(t, e)) {
                    var i = t.className.split(" ");
                    i.push(e), t.className = i.join(" ")
                }
            }, s.removeClass = function (t, e) {
                if (s.hasClass(t, e)) {
                    var i = new RegExp("(^|\\s)" + e + "(\\s|$)", "g");
                    t.className = t.className.replace(i, "")
                }
            }, s.offset = function (t) {
                for (var e = -t.offsetLeft, i = -t.offsetTop; t = t.offsetParent;)e -= t.offsetLeft, i -= t.offsetTop;
                return {left: e, top: i}
            }, s.extend(s.eventType = {}, {
                touchstart: 1,
                touchmove: 1,
                touchend: 1,
                mousedown: 2,
                mousemove: 2,
                mouseup: 2,
                MSPointerDown: 3,
                MSPointerMove: 3,
                MSPointerUp: 3
            }), s.extend(s.ease = {}, {
                quadratic: {
                    style: "cubic-bezier(0.25, 0.46, 0.45, 0.94)", fn: function (t) {
                        return t * (2 - t)
                    }
                }, circular: {
                    style: "cubic-bezier(0.1, 0.57, 0.1, 1)", fn: function (t) {
                        return i.sqrt(1 - --t * t)
                    }
                }, back: {
                    style: "cubic-bezier(0.175, 0.885, 0.32, 1.275)", fn: function (t) {
                        var e = 4;
                        return (t -= 1) * t * ((e + 1) * t + e) + 1
                    }
                }, bounce: {
                    style: "", fn: function (t) {
                        return (t /= 1) < 1 / 2.75 ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375
                    }
                }, elastic: {
                    style: "", fn: function (t) {
                        var e = .22, a = .4;
                        return 0 === t ? 0 : 1 == t ? 1 : a * i.pow(2, -10 * t) * i.sin((t - e / 4) * (2 * i.PI) / e) + 1
                    }
                }
            }), s.tap = function (t, i) {
                var a = e.createEvent("Event");
                a.initEvent(i, !0, !0), a.pageX = t.pageX, a.pageY = t.pageY, t.target.dispatchEvent(a)
            }, s.click = function (t) {
                var i, a = t.target;
                "SELECT" != a.tagName && "INPUT" != a.tagName && "TEXTAREA" != a.tagName && (i = e.createEvent("MouseEvents"), i.initMouseEvent("click", !0, !0, t.view, 1, a.screenX, a.screenY, a.clientX, a.clientY, t.ctrlKey, t.altKey, t.shiftKey, t.metaKey, 0, null), i._constructed = !0, a.dispatchEvent(i))
            }, s
        }();
        return a.prototype = {
            version: "5.0.4", _init: function () {
                this._initEvents(), (this.options.scrollbars || this.options.indicators) && this._initIndicators(), this.options.mouseWheel && this._initWheel(), this.options.snap && this._initSnap(), this.options.keyBindings && this._initKeys()
            }, destroy: function () {
                this._initEvents(!0), this._execEvent("destroy")
            }, _transitionEnd: function (t) {
                t.target == this.scroller && (this._transitionTime(0), this.resetPosition(this.options.bounceTime) || this._execEvent("scrollEnd"))
            }, _start: function (t) {
                if ((1 == r.eventType[t.type] || 0 === t.button) && this.enabled && (!this.initiated || r.eventType[t.type] === this.initiated)) {
                    this.options.preventDefault && !r.isAndroidBrowser && t.preventDefault();
                    var e, a = t.touches ? t.touches[0] : t;
                    this.initiated = r.eventType[t.type], this.moved = !1, this.distX = 0, this.distY = 0, this.directionX = 0, this.directionY = 0, this.directionLocked = 0, this._transitionTime(), this.isAnimating = !1, this.startTime = r.getTime(), this.options.useTransition && this.isInTransition && (e = this.getComputedPosition(), this._translate(i.round(e.x), i.round(e.y)), this.isInTransition = !1), this.startX = this.x, this.startY = this.y, this.absStartX = this.x, this.absStartY = this.y, this.pointX = a.pageX, this.pointY = a.pageY, this._execEvent("scrollStart")
                }
            }, _move: function (t) {
                if (this.enabled && r.eventType[t.type] === this.initiated) {
                    this.options.preventDefault && t.preventDefault();
                    var e, a, s, o, n = t.touches ? t.touches[0] : t, l = this.hasHorizontalScroll ? n.pageX - this.pointX : 0, c = this.hasVerticalScroll ? n.pageY - this.pointY : 0, d = r.getTime();
                    if (this.pointX = n.pageX, this.pointY = n.pageY, this.distX += l, this.distY += c, s = i.abs(this.distX), o = i.abs(this.distY), !(d - this.endTime > 300 && 10 > s && 10 > o)) {
                        if (this.directionLocked || this.options.freeScroll || (s > o + this.options.directionLockThreshold ? this.directionLocked = "h" : o >= s + this.options.directionLockThreshold ? this.directionLocked = "v" : this.directionLocked = "n"), "h" == this.directionLocked) {
                            if ("vertical" == this.options.eventPassthrough)t.preventDefault(); else if ("horizontal" == this.options.eventPassthrough)return void(this.initiated = !1);
                            c = 0
                        } else if ("v" == this.directionLocked) {
                            if ("horizontal" == this.options.eventPassthrough)t.preventDefault(); else if ("vertical" == this.options.eventPassthrough)return void(this.initiated = !1);
                            l = 0
                        }
                        e = this.x + l, a = this.y + c, (e > 0 || e < this.maxScrollX) && (e = this.options.bounce ? this.x + l / 3 : e > 0 ? 0 : this.maxScrollX), (a > 0 || a < this.maxScrollY) && (a = this.options.bounce ? this.y + c / 3 : a > 0 ? 0 : this.maxScrollY), this.directionX = l > 0 ? -1 : 0 > l ? 1 : 0, this.directionY = c > 0 ? -1 : 0 > c ? 1 : 0, this.moved = !0, this._translate(e, a), d - this.startTime > 300 && (this.startTime = d, this.startX = this.x, this.startY = this.y)
                    }
                }
            }, _end: function (t) {
                if (this.enabled && r.eventType[t.type] === this.initiated) {
                    this.options.preventDefault && t.preventDefault();
                    var e, a, s = (t.changedTouches ? t.changedTouches[0] : t, r.getTime() - this.startTime), o = i.round(this.x), n = i.round(this.y), l = i.abs(o - this.startX), c = i.abs(n - this.startY), d = 0, p = "";
                    if (this.scrollTo(o, n), this.isInTransition = 0, this.initiated = 0, this.endTime = r.getTime(), !this.resetPosition(this.options.bounceTime)) {
                        if (!this.moved)return this.options.tap && r.tap(t, this.options.tap), void(this.options.click && r.click(t));
                        if (this._events.flick && 200 > s && 100 > l && 100 > c)return void this._execEvent("flick");
                        if (this.options.momentum && 300 > s && (e = this.hasHorizontalScroll ? r.momentum(this.x, this.startX, s, this.maxScrollX, this.options.bounce ? this.wrapperWidth : 0) : {
                                destination: o,
                                duration: 0
                            }, a = this.hasVerticalScroll ? r.momentum(this.y, this.startY, s, this.maxScrollY, this.options.bounce ? this.wrapperHeight : 0) : {
                                destination: n,
                                duration: 0
                            }, o = e.destination, n = a.destination, d = i.max(e.duration, a.duration), this.isInTransition = 1), this.options.snap) {
                            var h = this._nearestSnap(o, n);
                            this.currentPage = h, o = h.x, n = h.y, d = this.options.snapSpeed || i.max(i.max(i.min(l, 1e3), i.min(l, 1e3)), 300), this.directionX = 0, this.directionY = 0, p = this.options.bounceEasing
                        }
                        return o != this.x || n != this.y ? ((o > 0 || o < this.maxScrollX || n > 0 || n < this.maxScrollY) && (p = r.ease.quadratic), void this.scrollTo(o, n, d, p)) : void this._execEvent("scrollEnd")
                    }
                }
            }, _resize: function () {
                var t = this;
                clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(function () {
                    t.refresh()
                }, this.options.resizePolling)
            }, resetPosition: function (t) {
                var e = this.x, i = this.y;
                return t = t || 0, !this.hasHorizontalScroll || this.x > 0 ? e = 0 : this.x < this.maxScrollX && (e = this.maxScrollX), !this.hasVerticalScroll || this.y > 0 ? i = 0 : this.y < this.maxScrollY && (i = this.maxScrollY), e == this.x && i == this.y ? !1 : (this.scrollTo(e, i, t, this.options.bounceEasing), !0)
            }, disable: function () {
                this.enabled = !1
            }, enable: function () {
                this.enabled = !0
            }, refresh: function () {
                this.wrapper.offsetHeight;
                if (this.wrapperWidth = this.wrapper.clientWidth, this.wrapperHeight = this.wrapper.clientHeight, this.scroller.offsetWidth && (this.scrollerWidth = this.scroller.offsetWidth, this.options.snap && (this.options.offsetW = this.options.offsetW || 0, this.scrollerWidth = (this.wrapperWidth - this.options.offsetW) * this.itemsLen), this.scrollerHeight = this.scroller.offsetHeight, this.maxScrollX = this.wrapperWidth - this.scrollerWidth, this.maxScrollY = this.wrapperHeight - this.scrollerHeight, this.hasHorizontalScroll = this.options.scrollX && this.maxScrollX < 0, this.hasVerticalScroll = this.options.scrollY && this.maxScrollY < 0, this.hasHorizontalScroll || (this.maxScrollX = 0, this.scrollerWidth = this.wrapperWidth), this.hasVerticalScroll || (this.maxScrollY = 0, this.scrollerHeight = this.wrapperHeight), this.endTime = 0, this.directionX = 0, this.directionY = 0, this.wrapperOffset = r.offset(this.wrapper), this._execEvent("refresh"), this.resetPosition(), this.options.snap)) {
                    var t = this._nearestSnap(this.x, this.y);
                    if (this.x == t.x && this.y == t.y)return;
                    this.currentPage = t, this.scrollTo(t.x, t.y)
                }
            }, on: function (t, e) {
                this._events[t] || (this._events[t] = []), this._events[t].push(e)
            }, _execEvent: function (t) {
                if (this._events[t]) {
                    var e = 0, i = this._events[t].length;
                    if (i)for (; i > e; e++)this._events[t][e].call(this)
                }
            }, scrollBy: function (t, e, i, a) {
                t = this.x + t, e = this.y + e, i = i || 0, this.scrollTo(t, e, i, a)
            }, scrollTo: function (t, e, i, a) {
                a = a || r.ease.circular, !i || this.options.useTransition && a.style ? (this._transitionTimingFunction(a.style), this._transitionTime(i), this._translate(t, e)) : this._animate(t, e, i, a.fn), this._execEvent("scrolling")
            }, scrollToElement: function (t, e, a, s, o) {
                if (t = t.nodeType ? t : this.scroller.querySelector(t)) {
                    var n = r.offset(t);
                    n.left -= this.wrapperOffset.left, n.top -= this.wrapperOffset.top, a === !0 && (a = i.round(t.offsetWidth / 2 - this.wrapper.offsetWidth / 2)), s === !0 && (s = i.round(t.offsetHeight / 2 - this.wrapper.offsetHeight / 2)), n.left -= a || 0, n.top -= s || 0, n.left = n.left > 0 ? 0 : n.left < this.maxScrollX ? this.maxScrollX : n.left, n.top = n.top > 0 ? 0 : n.top < this.maxScrollY ? this.maxScrollY : n.top, e = void 0 === e || null === e || "auto" === e ? i.max(2 * i.abs(n.left), 2 * i.abs(n.top)) : e, this.scrollTo(n.left, n.top, e, o)
                }
            }, _transitionTime: function (t) {
                t = t || 0, this.scrollerStyle[r.style.transitionDuration] = t + "ms", this.indicator1 && this.indicator1.transitionTime(t), this.indicator2 && this.indicator2.transitionTime(t)
            }, _transitionTimingFunction: function (t) {
                this.scrollerStyle[r.style.transitionTimingFunction] = t, this.indicator1 && this.indicator1.transitionTimingFunction(t), this.indicator2 && this.indicator2.transitionTimingFunction(t)
            }, _translate: function (t, e) {
                this.options.useTransform ? this.scrollerStyle[r.style.transform] = "translate(" + t + "px," + e + "px)" + this.translateZ : (t = i.round(t), e = i.round(e), this.scrollerStyle.left = t + "px", this.scrollerStyle.top = e + "px"), this.x = t, this.y = e, this.indicator1 && this.indicator1.updatePosition(), this.indicator2 && this.indicator2.updatePosition()
            }, _initEvents: function (e) {
                var i = e ? r.removeEvent : r.addEvent, a = this.options.bindToWrapper ? this.wrapper : t;
                i(t, "orientationchange", this), i(t, "resize", this), i(this.wrapper, "mousedown", this), i(a, "mousemove", this), i(a, "mousecancel", this), i(a, "mouseup", this), r.hasPointer && (i(this.wrapper, "MSPointerDown", this), i(a, "MSPointerMove", this), i(a, "MSPointerCancel", this), i(a, "MSPointerUp", this)), r.hasTouch && (i(this.wrapper, "touchstart", this), i(a, "touchmove", this), i(a, "touchcancel", this), i(a, "touchend", this)), i(this.scroller, "transitionend", this), i(this.scroller, "webkitTransitionEnd", this), i(this.scroller, "oTransitionEnd", this), i(this.scroller, "MSTransitionEnd", this)
            }, getComputedPosition: function () {
                var e, i, a = t.getComputedStyle(this.scroller, null);
                return this.options.useTransform ? (a = a[r.style.transform].split(")")[0].split(", "), e = +(a[12] || a[4]), i = +(a[13] || a[5])) : (e = +a.left.replace(/[^-\d]/g, ""), i = +a.top.replace(/[^-\d]/g, "")), {
                    x: e,
                    y: i
                }
            }, _initIndicators: function () {
                var t, e, i = this.options.interactiveScrollbars, a = ("object" != typeof this.options.scrollbars, "string" != typeof this.options.scrollbars);
                this.options.scrollbars ? (this.options.scrollY && (t = {
                    el: s("v", i, this.options.scrollbars),
                    interactive: i,
                    defaultScrollbars: !0,
                    customStyle: a,
                    resize: this.options.resizeIndicator,
                    listenX: !1
                }, this.wrapper.appendChild(t.el)), this.options.scrollX && (e = {
                    el: s("h", i, this.options.scrollbars),
                    interactive: i,
                    defaultScrollbars: !0,
                    customStyle: a,
                    resize: this.options.resizeIndicator,
                    listenY: !1
                }, this.wrapper.appendChild(e.el))) : (t = this.options.indicators.length ? this.options.indicators[0] : this.options.indicators, e = this.options.indicators[1] && this.options.indicators[1]), t && (this.indicator1 = new o(this, t)), e && (this.indicator2 = new o(this, e)), this.on("refresh", function () {
                    this.indicator1 && this.indicator1.refresh(), this.indicator2 && this.indicator2.refresh()
                }), this.on("destroy", function () {
                    this.indicator1 && (this.indicator1.destroy(), this.indicator1 = null), this.indicator2 && (this.indicator2.destroy(), this.indicator2 = null)
                })
            }, _initWheel: function () {
                r.addEvent(this.wrapper, "mousewheel", this), r.addEvent(this.wrapper, "DOMMouseScroll", this), this.on("destroy", function () {
                    r.removeEvent(this.wrapper, "mousewheel", this), r.removeEvent(this.wrapper, "DOMMouseScroll", this)
                })
            }, _wheel: function (t) {
                if (this.enabled) {
                    var e, i, a, s, o = this;
                    if (clearTimeout(this.wheelTimeout), this.wheelTimeout = setTimeout(function () {
                            o._execEvent("scrollEnd")
                        }, 400), t.preventDefault(), "wheelDeltaX" in t)e = t.wheelDeltaX / 120, i = t.wheelDeltaY / 120; else if ("wheelDelta" in t)e = i = t.wheelDelta / 120; else {
                        if (!("detail" in t))return;
                        e = i = -t.detail / 3
                    }
                    e *= this.options.mouseWheelSpeed, i *= this.options.mouseWheelSpeed, this.hasVerticalScroll || (e = i), a = this.x + (this.hasHorizontalScroll ? e * this.options.invertWheelDirection : 0), s = this.y + (this.hasVerticalScroll ? i * this.options.invertWheelDirection : 0), a > 0 ? a = 0 : a < this.maxScrollX && (a = this.maxScrollX), s > 0 ? s = 0 : s < this.maxScrollY && (s = this.maxScrollY), this.scrollTo(a, s, 0)
                }
            }, _initSnap: function () {
                this.currentPage = {}, "string" == typeof this.options.snap && (this.options.snap = this.scroller.querySelectorAll(this.options.snap)), this.on("refresh", function () {
                    var t, e, a, s, o, n, r = 0, l = 0, c = 0, d = this.options.snapStepX || this.wrapperWidth, p = this.options.snapStepY || this.wrapperHeight;
                    if (this.pages = [], this.options.snap === !0)for (a = i.round(d / 2), s = i.round(p / 2); c > -this.scrollerWidth;) {
                        for (this.pages[r] = [], t = 0, o = 0; o > -this.scrollerHeight;)this.pages[r][t] = {
                            x: i.max(c, this.maxScrollX),
                            y: i.max(o, this.maxScrollY),
                            width: d,
                            height: p,
                            cx: c - a,
                            cy: o - s
                        }, o -= p, t++;
                        c -= d, r++
                    } else for (n = this.options.snap, t = n.length, e = -1; t > r; r++)(0 === r || n[r].offsetLeft <= n[r - 1].offsetLeft) && (l = 0, e++), this.pages[l] || (this.pages[l] = []), c = i.max(-n[r].offsetLeft, this.maxScrollX), o = i.max(-n[r].offsetTop, this.maxScrollY), a = c - i.round(n[r].offsetWidth / 2), s = o - i.round(n[r].offsetHeight / 2), this.pages[l][e] = {
                        x: c,
                        y: o,
                        width: n[r].offsetWidth,
                        height: n[r].offsetHeight,
                        cx: a,
                        cy: s
                    }, c > this.maxScrollX && l++;
                    this.goToPage(this.currentPage.pageX || 0, this.currentPage.pageY || 0, 0), this.options.snapThreshold % 1 === 0 ? (this.snapThresholdX = this.options.snapThreshold, this.snapThresholdY = this.options.snapThreshold) : (this.snapThresholdX = i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width * this.options.snapThreshold), this.snapThresholdY = i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height * this.options.snapThreshold))
                }), this.on("flick", function () {
                    var t = this.options.snapSpeed || i.max(i.max(i.min(i.abs(this.x - this.startX), 1e3), i.min(i.abs(this.y - this.startY), 1e3)), 300);
                    this.goToPage(this.currentPage.pageX + this.directionX, this.currentPage.pageY + this.directionY, t)
                })
            }, _nearestSnap: function (t, e) {
                var a = 0, s = this.pages.length, o = 0;
                if (i.abs(t - this.absStartX) < this.snapThresholdX && i.abs(e - this.absStartY) < this.snapThresholdY)return this.currentPage;
                for (t > 0 ? t = 0 : t < this.maxScrollX && (t = this.maxScrollX), e > 0 ? e = 0 : e < this.maxScrollY && (e = this.maxScrollY); s > a; a++)if (t >= this.pages[a][0].cx) {
                    t = this.pages[a][0].x;
                    break
                }
                for (s = this.pages[a].length; s > o; o++)if (e >= this.pages[0][o].cy) {
                    e = this.pages[0][o].y;
                    break
                }
                return a == this.currentPage.pageX && (a += this.directionX, 0 > a ? a = 0 : a >= this.pages.length && (a = this.pages.length - 1), t = this.pages[a][0].x), o == this.currentPage.pageY && (o += this.directionY, 0 > o ? o = 0 : o >= this.pages[0].length && (o = this.pages[0].length - 1), e = this.pages[0][o].y), {
                    x: t,
                    y: e,
                    pageX: a,
                    pageY: o
                }
            }, goToPage: function (t, e, a, s) {
                s = s || this.options.bounceEasing, t >= this.pages.length ? t = this.pages.length - 1 : 0 > t && (t = 0), e >= this.pages[0].length ? e = this.pages[0].length - 1 : 0 > e && (e = 0);
                var o = this.pages[t][e].x, n = this.pages[t][e].y;
                a = void 0 === a ? this.options.snapSpeed || i.max(i.max(i.min(i.abs(o - this.x), 1e3), i.min(i.abs(n - this.y), 1e3)), 300) : a, this.currentPage = {
                    x: o,
                    y: n,
                    pageX: t,
                    pageY: e
                }, this.scrollTo(o, n, a, s)
            }, next: function (t, e) {
                var i = this.currentPage.pageX, a = this.currentPage.pageY;
                i++, i >= this.pages.length && this.hasVerticalScroll && (i = 0, a++), this.goToPage(i, a, t, e)
            }, prev: function (t, e) {
                var i = this.currentPage.pageX, a = this.currentPage.pageY;
                i--, 0 > i && this.hasVerticalScroll && (i = 0, a--), this.goToPage(i, a, t, e)
            }, _initKeys: function (e) {
                var i, a = {pageUp: 33, pageDown: 34, end: 35, home: 36, left: 37, up: 38, right: 39, down: 40};
                if ("object" == typeof this.options.keyBindings)for (i in this.options.keyBindings)"string" == typeof this.options.keyBindings[i] && (this.options.keyBindings[i] = this.options.keyBindings[i].toUpperCase().charCodeAt(0)); else this.options.keyBindings = {};
                for (i in a)this.options.keyBindings[i] = this.options.keyBindings[i] || a[i];
                r.addEvent(t, "keydown", this), this.on("destroy", function () {
                    r.removeEvent(t, "keydown", this)
                })
            }, _key: function (t) {
                if (this.enabled) {
                    var e, a = this.options.snap, s = a ? this.currentPage.pageX : this.x, o = a ? this.currentPage.pageY : this.y, n = r.getTime(), l = this.keyTime || 0, c = .25;
                    switch (this.options.useTransition && this.isInTransition && (e = this.getComputedPosition(), this._translate(i.round(e.x), i.round(e.y)), this.isInTransition = !1), this.keyAcceleration = 200 > n - l ? i.min(this.keyAcceleration + c, 50) : 0, t.keyCode) {
                        case this.options.keyBindings.pageUp:
                            this.hasHorizontalScroll && !this.hasVerticalScroll ? s += a ? 1 : this.wrapperWidth : o += a ? 1 : this.wrapperHeight;
                            break;
                        case this.options.keyBindings.pageDown:
                            this.hasHorizontalScroll && !this.hasVerticalScroll ? s -= a ? 1 : this.wrapperWidth : o -= a ? 1 : this.wrapperHeight;
                            break;
                        case this.options.keyBindings.end:
                            s = a ? this.pages.length - 1 : this.maxScrollX, o = a ? this.pages[0].length - 1 : this.maxScrollY;
                            break;
                        case this.options.keyBindings.home:
                            s = 0, o = 0;
                            break;
                        case this.options.keyBindings.left:
                            s += a ? -1 : 5 + this.keyAcceleration >> 0;
                            break;
                        case this.options.keyBindings.up:
                            o += a ? 1 : 5 + this.keyAcceleration >> 0;
                            break;
                        case this.options.keyBindings.right:
                            s -= a ? -1 : 5 + this.keyAcceleration >> 0;
                            break;
                        case this.options.keyBindings.down:
                            o -= a ? 1 : 5 + this.keyAcceleration >> 0
                    }
                    if (a)return void this.goToPage(s, o);
                    s > 0 ? (s = 0, this.keyAcceleration = 0) : s < this.maxScrollX && (s = this.maxScrollX, this.keyAcceleration = 0), o > 0 ? (o = 0, this.keyAcceleration = 0) : o < this.maxScrollY && (o = this.maxScrollY, this.keyAcceleration = 0), this.scrollTo(s, o, 0), this.keyTime = n
                }
            }, _animate: function (t, e, i, a) {
                function s() {
                    var h, u, m, v = r.getTime();
                    return v >= p ? (o.isAnimating = !1, o._translate(t, e), void(o.resetPosition(o.options.bounceTime) || o._execEvent("scrollEnd"))) : (v = (v - d) / i, m = a(v), h = (t - l) * m + l, u = (e - c) * m + c, o._translate(h, u), void(o.isAnimating && n(s)))
                }

                var o = this, l = this.x, c = this.y, d = r.getTime(), p = d + i;
                this.isAnimating = !0, s()
            }, handleEvent: function (t) {
                switch (t.type) {
                    case"touchstart":
                    case"MSPointerDown":
                    case"mousedown":
                        this._start(t);
                        break;
                    case"touchmove":
                    case"MSPointerMove":
                    case"mousemove":
                        this._move(t);
                        break;
                    case"touchend":
                    case"MSPointerUp":
                    case"mouseup":
                    case"touchcancel":
                    case"MSPointerCancel":
                    case"mousecancel":
                        this._end(t);
                        break;
                    case"orientationchange":
                    case"resize":
                        this._resize();
                        break;
                    case"transitionend":
                    case"webkitTransitionEnd":
                    case"oTransitionEnd":
                    case"MSTransitionEnd":
                        this._transitionEnd(t);
                        break;
                    case"DOMMouseScroll":
                    case"mousewheel":
                        this._wheel(t);
                        break;
                    case"keydown":
                        this._key(t)
                }
            }
        }, o.prototype = {
            handleEvent: function (t) {
                switch (t.type) {
                    case"touchstart":
                    case"MSPointerDown":
                    case"mousedown":
                        this._start(t);
                        break;
                    case"touchmove":
                    case"MSPointerMove":
                    case"mousemove":
                        this._move(t);
                        break;
                    case"touchend":
                    case"MSPointerUp":
                    case"mouseup":
                    case"touchcancel":
                    case"MSPointerCancel":
                    case"mousecancel":
                        this._end(t)
                }
            }, destroy: function () {
                this.options.interactive && (r.removeEvent(this.indicator, "touchstart", this), r.removeEvent(this.indicator, "MSPointerDown", this), r.removeEvent(this.indicator, "mousedown", this), r.removeEvent(t, "touchmove", this), r.removeEvent(t, "MSPointerMove", this), r.removeEvent(t, "mousemove", this), r.removeEvent(t, "touchend", this), r.removeEvent(t, "MSPointerUp", this), r.removeEvent(t, "mouseup", this)), this.options.defaultScrollbars && this.wrapper.parentNode.removeChild(this.wrapper)
            }, _start: function (e) {
                var i = e.touches ? e.touches[0] : e;
                e.preventDefault(), e.stopPropagation(), this.transitionTime(0), this.initiated = !0, this.moved = !1, this.lastPointX = i.pageX, this.lastPointY = i.pageY, this.startTime = r.getTime(), r.addEvent(t, "touchmove", this), r.addEvent(t, "MSPointerMove", this), r.addEvent(t, "mousemove", this), this.scroller._execEvent("scrollStart")
            }, _move: function (t) {
                var e, i, a, s, o = t.touches ? t.touches[0] : t;
                r.getTime();
                this.moved = !0, e = o.pageX - this.lastPointX, this.lastPointX = o.pageX, i = o.pageY - this.lastPointY, this.lastPointY = o.pageY, a = this.x + e, s = this.y + i, this._pos(a, s), t.preventDefault(), t.stopPropagation()
            }, _end: function (e) {
                this.initiated && (this.initiated = !1, e.preventDefault(), e.stopPropagation(), r.removeEvent(t, "touchmove", this), r.removeEvent(t, "MSPointerMove", this), r.removeEvent(t, "mousemove", this), this.moved && this.scroller._execEvent("scrollEnd"))
            }, transitionTime: function (t) {
                t = t || 0, this.indicatorStyle[r.style.transitionDuration] = t + "ms"
            }, transitionTimingFunction: function (t) {
                this.indicatorStyle[r.style.transitionTimingFunction] = t
            }, refresh: function () {
                this.transitionTime(0), this.options.listenX && !this.options.listenY ? this.indicatorStyle.display = this.scroller.hasHorizontalScroll ? "block" : "none" : this.options.listenY && !this.options.listenX ? this.indicatorStyle.display = this.scroller.hasVerticalScroll ? "block" : "none" : this.indicatorStyle.display = this.scroller.hasHorizontalScroll || this.scroller.hasVerticalScroll ? "block" : "none", this.scroller.hasHorizontalScroll && this.scroller.hasVerticalScroll ? (r.addClass(this.wrapper, "iScrollBothScrollbars"), r.removeClass(this.wrapper, "iScrollLoneScrollbar"), this.options.defaultScrollbars && this.options.customStyle && (this.options.listenX ? this.wrapper.style.right = "8px" : this.wrapper.style.bottom = "8px")) : (r.removeClass(this.wrapper, "iScrollBothScrollbars"), r.addClass(this.wrapper, "iScrollLoneScrollbar"), this.options.defaultScrollbars && this.options.customStyle && (this.options.listenX ? this.wrapper.style.right = "2px" : this.wrapper.style.bottom = "2px"));
                this.wrapper.offsetHeight;
                this.options.listenX && (this.wrapperWidth = this.wrapper.clientWidth, this.options.resize ? (this.indicatorWidth = i.max(i.round(this.wrapperWidth * this.wrapperWidth / this.scroller.scrollerWidth), 8), this.indicatorStyle.width = this.indicatorWidth + "px") : this.indicatorWidth = this.indicator.clientWidth, this.maxPosX = this.wrapperWidth - this.indicatorWidth, this.sizeRatioX = this.options.speedRatioX || this.scroller.maxScrollX && this.maxPosX / this.scroller.maxScrollX), this.options.listenY && (this.wrapperHeight = this.wrapper.clientHeight, this.options.resize ? (this.indicatorHeight = i.max(i.round(this.wrapperHeight * this.wrapperHeight / this.scroller.scrollerHeight), 8),
                    this.indicatorStyle.height = this.indicatorHeight + "px") : this.indicatorHeight = this.indicator.clientHeight, this.maxPosY = this.wrapperHeight - this.indicatorHeight, this.sizeRatioY = this.options.speedRatioY || this.scroller.maxScrollY && this.maxPosY / this.scroller.maxScrollY), this.updatePosition()
            }, updatePosition: function () {
                var t = i.round(this.sizeRatioX * this.scroller.x) || 0, e = i.round(this.sizeRatioY * this.scroller.y) || 0;
                this.options.ignoreBoundaries || (0 > t ? t = 0 : t > this.maxPosX && (t = this.maxPosX), 0 > e ? e = 0 : e > this.maxPosY && (e = this.maxPosY)), this.x = t, this.y = e, this.scroller.options.useTransform ? this.indicatorStyle[r.style.transform] = "translate(" + t + "px," + e + "px)" + this.scroller.translateZ : (this.indicatorStyle.left = t + "px", this.indicatorStyle.top = e + "px")
            }, _pos: function (t, e) {
                0 > t ? t = 0 : t > this.maxPosX && (t = this.maxPosX), 0 > e ? e = 0 : e > this.maxPosY && (e = this.maxPosY), t = this.options.listenX ? i.round(t / this.sizeRatioX) : this.scroller.x, e = this.options.listenY ? i.round(e / this.sizeRatioY) : this.scroller.y, this.scroller.scrollTo(t, e)
            }
        }, a.ease = r.ease, a
    }(window, document, Math), LTK["bz/module/initIScroll_v5"] = function (t, e, i) {
        var a = function (t, e) {
            $(t).find(".scroll").remove(), $(t).find(".scr").remove();
            var i = {
                click: !0,
                mouseWheel: !0,
                scrollX: !1,
                scrollY: !0,
                scrollbars: !0,
                useTransform: !1,
                useTransition: !1,
                bounceEasing: "elastic",
                bounceTime: 1e3
            };
            if (e)for (var a in e)i[a] = e[a];
            var s = new IScroll(t, i);
            return s
        };
        i.exports = a
    }, LTK["bz/www_play/episodeList/episodeMonthBox"] = function (t, e, i) {
        "use strict";
        var a = function () {
            this.init()
        };
        a.prototype = {
            constructor: a, init: function () {
                this.initDom()
            }, initDom: function () {
                this.initIScroll = t("bz/module/initIScroll_v5"), this.playListEvent = t("bz/www_play/events"), this.$listContener = $(".le_jujibox"), this.$rollBox = $(".le_jujiCnt .rollBox"), this.myiScroll = null, this.dataArr = [], this.dataObj = {}, this.monthEpisodeData = {}, this.itemNumber = 0, this.totalCount = 0, this.monthDomStr = "", this.monthDom = null, this.splitCount = 100, this.limitNumber = 3, this.currentPage = 1, this.type = "", this.firstDateTag = "", this.clickStatConfig = {
                    jujiPages: "ch=www&pg=play_v1&bk=jujiPages&link=pages",
                    monthPages: "ch=www&pg=play_v1&bk=monthPages&link=pages"
                }
            }, initEvent: function () {
                $(".j-monthCntShown").on("click", $.proxy(this.monthShownClickLogic, this)), $(".j-monthCntHiden").on("click", $.proxy(this.monthHidenClickLogic, this)), $(".j-showMore").on("click", $.proxy(this.showMoreLogic, this))
            }, monthShownClickLogic: function (t) {
                var e = $(t.currentTarget), i = e.attr("data-title"), a = $(".juji_monthBox li.cur"), s = $(".j-showMore");
                a.attr("data-title") !== i && (this.activeMonthBoxLiByTitle(i), s.html('<a href="javascript:;"><span>更多</span><i class="ico_arrow_tarr"></i></a>'), s.removeClass("cur"))
            }, showMoreLogic: function () {
                var t = $(".juji_monthBox .juji_monthCntList");
                this.toggleMoreCntList(t)
            }, toggleMoreCntList: function (t) {
                "block" === t.css("display") ? this.closeMoreCntList(t) : this.openMoreCntList(t)
            }, openMoreCntList: function (t) {
                t.show();
                var e = this, i = $(".juji_cntBox").height() + 6, a = t.find(".scrollContainer");
                a.height(i), e.myiScroll ? e.myiScroll.refresh() : e.myiScroll = e.initIScroll(a[0], {
                    scrollbars: !1,
                    disablePointer: !0,
                    disableMouse: !0,
                    disableTouch: !0,
                    momentum: !1
                })
            }, closeMoreCntList: function (t) {
                t.hide()
            }, monthHidenClickLogic: function (t) {
                var e = $(t.currentTarget), i = e.attr("data-title"), a = $(".juji_monthBox li.cur"), s = $(".j-showMore");
                if (a.attr("data-title") !== i) {
                    this.activeMonthBoxLiByTitle(i);
                    var o = $.trim(e.find("a").text());
                    s.html('<a href="javascript:;"><span>' + o + '</span><i class="ico_arrow_tarr"></i></a>'), s.addClass("cur")
                }
            }, activeMonthBoxLiByTitle: function (t) {
                for (var e = $(".juji_monthCntList"), i = $(".juji_monthBox li"), a = 0; a < i.length; a++) {
                    var s = i.eq(a);
                    s.hasClass("cur") && s.removeClass("cur"), s.attr("data-title") === t && s.addClass("cur")
                }
                var o = this.dataObj[t];
                return this.currentPage === o && this.monthEpisodeData[o] ? void("block" === e.css("display") && this.closeMoreCntList(e)) : ("month" === this.type ? this.playListEvent.emit("switchMonthEpisodeData", o, null, this.monthEpisodeData, this.firstDateTag) : "juji" === this.type && this.playListEvent.emit("switchJujiEpisodeData", o, null, this.monthEpisodeData), this.currentPage = o, void("block" === e.css("display") && this.closeMoreCntList(e)))
            }, activeMonthBoxLiByOrder: function (t) {
                for (var e = $(".juji_monthBox li"), i = "", a = $(".j-showMore"), s = 0; s < e.length; s++) {
                    var o = e.eq(s);
                    o.hasClass("cur") && o.removeClass("cur"), s === t && (o.addClass("cur"), i = o.attr("data-title"))
                }
                this.currentPage = this.dataObj[i], "month" === this.type ? this.playListEvent.emit("switchMonthEpisodeData", this.dataObj[i], null, this.monthEpisodeData, this.firstDateTag) : "juji" === this.type && this.playListEvent.emit("switchJujiEpisodeData", this.dataObj[i], null, this.monthEpisodeData), a.html('<a href="javascript:;"><span>更多</span><i class="ico_arrow_tarr"></i></a>'), a.removeClass("cur")
            }, initBox: function (t, e, i, a, s, o) {
                this.splitCount = i, this.currentPage = s, this.type = e, this.convertData(t, e), this.initViewed();
                var n = o ? s : 1;
                "juji" === e ? this.monthEpisodeData[n] = a : "month" === e && (this.firstDateTag = s, this.monthEpisodeData[s] = a)
            }, convertData: function (t, e) {
                if (this.dataArr = [], this.dataObj = {}, "juji" === e) {
                    var i = this.splitCount, a = Math.ceil(t / i);
                    this.itemNumber = a;
                    for (var s = t % i, o = 0; a > o; o++) {
                        var n = "";
                        if (o === a - 1) {
                            var r = {};
                            s = s ? s : i, n = o * i + 1 + "-" + (o * i + s), r.title = n, r.videoDataPage = o + 1, this.dataArr.push(r), this.dataObj[n] = r.videoDataPage
                        } else {
                            var l = {};
                            n = o * i + 1 + "-" + (o + 1) * i, l.title = n, l.videoDataPage = o + 1, this.dataArr.push(l), this.dataObj[n] = l.videoDataPage
                        }
                    }
                } else if ("month" === e) {
                    t.sort(function (t, e) {
                        return e.split("-")[1] - t.split("-")[1]
                    });
                    var c = t.length;
                    this.itemNumber = c;
                    for (var d = 0; c > d; d++) {
                        var p = t[d].split("-"), h = t[d], u = {};
                        u.title = p[1] + "月", u.monthTitle = h, u.videoDataPage = d + 1, this.dataArr.push(u), this.dataObj[h] = h
                    }
                }
            }, initViewed: function () {
                var t = "";
                t = this.itemNumber <= this.limitNumber ? '<div class="juji_titBox juji_monthBox j_jujiMonthBox"><ul class="juji_monthCnt">' + this.getItemTpl(this.dataArr.slice(0, this.limitNumber)) + "</ul></div>" : '<div class="juji_titBox juji_monthBox j_jujiMonthBox"><ul class="juji_monthCnt">' + this.getItemTpl(this.dataArr.slice(0, this.limitNumber - 1)) + '<li data-title="showMore" class="j-showMore"><a href="javascript:;"><span>更多</span><i class="ico_arrow_tarr"></i></a></li></ul><div class="juji_monthCntList"><div class="scrollContainer" style="overflow:hidden;"><ul class="juji_monthCnt" style="position:relative;">' + this.getItemTpl(this.dataArr.slice(this.limitNumber - 1, this.itemNumber), !0) + '</ul></div><div class="ico_juji_tarr"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div></div></div>', this.monthDomStr = t
            }, getItemTpl: function (t, e) {
                var i = "";
                "juji" === this.type ? i = '<li class="{jsAddedClass}" k-name="send-click-stat" data-click-stat="' + this.clickStatConfig.jujiPages + '" data-title="{title}"><a href="javascript:;">{title}</a></li>' : "month" === this.type && (i = '<li class="{jsAddedClass}" k-name="send-click-stat" data-click-stat="' + this.clickStatConfig.monthPages + '" data-title="{monthTitle}"><a href="javascript:;">{title}</a></li>');
                var a = new Tpl(i, function (t, i) {
                    t.jsAddedClass = "j-monthCntHiden", e || (t.jsAddedClass = "j-monthCntShown")
                });
                return a.render(t)
            }, showBox: function () {
                this.monthDom = $(this.monthDomStr);
                var t = $(".j_juji_yearBox"), e = $(".j_genboBar"), i = $(".j_jujiBar");
                t && t.length > 0 ? t.after(this.monthDom) : e && e.length > 0 ? e.after(this.monthDom) : i && i.length > 0 ? i.after(this.monthDom) : this.$rollBox.before(this.monthDom), this.initEvent(), this.monthDom.show(), this.activeMonthCurrentPage(this.currentPage)
            }, refreshBox: function () {
                this.monthDom && (this.monthDom = $(this.monthDomStr), $(".juji_monthBox").replaceWith(this.monthDom))
            }, activeMonthCurrentPage: function (t) {
                var e = $(".j-monthCntShown"), i = $(".j-monthCntHiden");
                if ("juji" === this.type)t < this.limitNumber ? e.eq(t - 1).trigger("click") : 0 === i.length ? e.eq(t - 1).trigger("click") : i.eq(t - this.limitNumber).trigger("click"); else if ("month" === this.type) {
                    for (var a = !1, s = t, o = 0; o < e.length; o++)e.eq(o).attr("data-title") === s && (e.eq(o).trigger("click"), a = !0);
                    if (!a)for (var n = 0; n < i.length; n++)i.eq(n).attr("data-title") === s && (i.eq(n).trigger("click"), a = !0)
                }
            }, hideBox: function () {
                this.monthDom && this.monthDom.hide()
            }, episodeMonthRefresh: function (t, e, i) {
                this.currentPage.split("-")[0];
                this.convertData(t, e), this.initViewed(), this.refreshBox(), this.initEvent(), this.activeMonthCurrentPage(this.currentPage)
            }
        }, i.exports = a
    }, LTK["air/string/byteLength"] = function () {
        var t = function (t) {
            return (t || "").replace(/[^\x00-\xff]/g, "00").length
        };
        return t
    }, LTK["bz/www_play/episodeList/episodeListGenboBar"] = function (t, e, i) {
        "use strict";
        var a = function () {
            this.init()
        };
        a.prototype = {
            constructor: a, init: function () {
                this.initDom()
            }, initDom: function () {
                this.$rollBox = $(".le_jujiCnt .rollBox"), this.byteLength = t("air/string/byteLength"), this.clip = t("air/util/clip"), this.genboDom = null
            }, initBox: function (t, e) {
                this.playStatus = t, this.hasJujiBar = e, this.jujiBarDomStr = this.initViewed()
            }, initViewed: function () {
                var t = "", e = this.playStatus, i = {
                    playStatusFull: this.byteLength(e) > 38 ? e : "",
                    clipedPlayStatus: this.genboClipStr(e, 38, 35, "..")
                };
                t = this.hasJujiBar ? '<div class="juji_bar juji_bar1 j_genboBar" title="{playStatusFull}">{clipedPlayStatus}</div>' : '<div class="juji_bar juji_bar2 j_genboBar" title="{playStatusFull}">{clipedPlayStatus}</div>';
                var a = new Tpl(t);
                return a.render(i)
            }, genboClipStr: function (t, e, i, a) {
                return this.byteLength(t) > e ? this.clip(t, i, a) : t
            }, showBox: function () {
                this.genboDom = $(this.jujiBarDomStr);
                var t = $(".juji_bar"), e = $(".j_juji_yearBox");
                t && t.length > 0 ? t.after(this.genboDom) : e && e.length > 0 ? e.before(this.genboDom) : this.$rollBox.before(this.genboDom), this.genboDom.show()
            }, hideBox: function () {
                this.genboDom && this.genboDom.hide()
            }
        }, i.exports = a
    }, LTK["bz/www_play/episodeList/episodeListOfMovie"] = function (t, e, i) {
        "use strict";
        var a = t("bz/www_play/episodeList/episodeMonthBox"), s = t("bz/www_play/episodeList/episodeListJujiBar"), o = t("bz/www_play/episodeList/episodeListGenboBar"), n = {
            init: function (t) {
                this.initDom(t), this.initEvent(), this.initLogic()
            }, initDom: function (t) {
                this.episodeList = t;
                var e = this.episodeList.INFO.cid;
                this.isGridType = !1, (2 === e || 5 === e || 16 === e) && (this.isGridType = !0), this.isTV = 2 === e, this.isVip = !1, this.nextVidsObj = {}, this.movieListData = {
                    mainVideos: null,
                    zhoubianObj: null,
                    relativeSerial: null,
                    CMSData: null,
                    relatedVideos: null,
                    subVideos: null,
                    hotViewVideos: null,
                    cmsAndRelateVideo: null
                }, this.movieVideoType = {
                    TRYLOOK: "trylook",
                    EPISODE: "episode",
                    RELATED: "related",
                    HOTVIEW: "hotView",
                    HOLDHERE: ""
                }, this.movieDataStat = {
                    tryLookDataDone: !1,
                    mainVideosDataDone: !1,
                    subVideosDataDone: !1,
                    CMSDataDone: !1,
                    relatedDataDone: !1,
                    hotViewDataDone: !1,
                    relativeSerialDataDone: !1
                }, this.totalOther = 0, this.totalMain = 0, this.pageNoMain = 1, this.pageNo = 1
            }, initEvent: function () {
                this.playListEvent = t("bz/www_play/events"), this.playListEvent.on("switchJujiEpisodeData", this.switchJujiEpisodeData), this.playListEvent.on("episodeListRenderStart", $.proxy(this.episodeListRenderStart, this)), this.playListEvent.on("episodeListReInit", $.proxy(this.initMoviePage, this)), this.playListEvent.on("getNextTVPageVid", $.proxy(this.getNextPageVid, this))
            }, initLogic: function () {
                var t = this, e = t.isTV, i = __INFO__ && __INFO__.video;
                i.hasOwnProperty("albumPayPlatform") && i.albumPayPlatform.hasOwnProperty("141001");
                if (e)var a = setInterval(function () {
                    var e = window.LEPass;
                    e && e.isLogin && (e && e.isLogin() ? e.getUserInfo() && e.getMemberInfo(function (e) {
                        t.episodeList.tvIsVIP = !(!e || !e.isvip), t.isVip = !(!e || !e.isvip), t.initLogEvent(), t.initMoviePage()
                    }) : (t.episodeList.tvIsVIP = !1, t.isVip = !1, t.initLogEvent(), t.initMoviePage()), clearInterval(a))
                }, 300); else this.initMoviePage()
            }, switchJujiEpisodeData: function (t, e, i) {
                var a = n, s = a.episodeList, o = a.movieListData.zhoubianObj, r = a.movieListData.relativeSerial, l = a.movieVideoType, c = s.currentVtype, d = s.clickStatConfig, p = "episode" === s.currentVtype, h = a.isGridType && c === l.EPISODE;
                if (i && i[t]) {
                    var u = i[t], m = s.getEpisodeHtml({
                        videos: u,
                        isGridType: h,
                        isShowOther: h,
                        zhoubianObj: o,
                        relativeSerial: r
                    });
                    s.doEpisodeSwitch(e, m)
                } else {
                    var v = s.VideoInfo;
                    if (2 == s.INFO.cid)s.getVideos({
                        id: v.pid,
                        vid: v.vid,
                        cid: s.INFO.cid,
                        page: t,
                        type: p ? "episode" : "otherlist",
                        isvip: a.isVip ? 1 : 0,
                        platform: "pc"
                    }, function (n) {
                        n = n.data || {};
                        var l = p ? n.episode : n.otherlist;
                        if (l && l.videolist && l.videolist.length > 0) {
                            var u = l.videolist, m = s.getVideoIds(u.slice(0, 100)), v = c, f = p ? d.episodeItem : d.subVideoItem;
                            if (p) {
                                var _ = a.nextVidsObj || {};
                                $.each(u, function (t, e) {
                                    _[e.vid] = e.nextvid || ""
                                })
                            }
                            s.getPidsInfo(m.toString(), function (a) {
                                var n = {clientVideoType: v, clickStatStr: f};
                                s.setViewCount(u, a, n), i[t] = u;
                                var l = s.getEpisodeHtml({
                                    videos: u,
                                    isGridType: h,
                                    isShowOther: h,
                                    zhoubianObj: o,
                                    relativeSerial: r
                                });
                                s.doEpisodeSwitch(e, l)
                            })
                        }
                    }); else {
                        var f = p ? "POSITIVE" : "NON_POSITIVE", _ = "pc";
                        s.getVideos({
                            id: v.pid,
                            cid: s.INFO.cid,
                            platform: _,
                            eptype: f,
                            size: s.pageSize,
                            page: t
                        }, function (a) {
                            if (a && a.data && a.data.length > 0) {
                                var n = a.data, l = s.getVideoIds(n), u = c, m = p ? d.episodeItem : d.subVideoItem;
                                s.getPidsInfo(l.toString(), function (a) {
                                    var l = {clientVideoType: u, clickStatStr: m};
                                    s.setViewCount(n, a, l), i[t] = n;
                                    var c = s.getEpisodeHtml({
                                        videos: n,
                                        isGridType: h,
                                        isShowOther: h,
                                        zhoubianObj: o,
                                        relativeSerial: r
                                    });
                                    s.doEpisodeSwitch(e, c)
                                })
                            }
                        })
                    }
                }
            }, initMoviePage: function () {
                var t = this, e = this.episodeList, i = this.movieDataStat, a = e.VideoInfo, s = a.pid, o = e.INFO.cid, n = a.vid, r = t.isTV, l = t.isVip ? 1 : 0, c = e.isTryLook;
                c || (i.tryLookDataDone = !0);
                var d = {id: s, cid: o, vid: n, platform: "pc"};
                r ? (d.isvip = l, d.type = "episode,otherlist") : (d.relvideo = 1, d.relalbum = 1), e.getVideos(d, this.prepareMovieVideos), e.getCMSData(2483, this.prepareCMSData), t.isGridType || e.childNotVarietyShow || e.educatedNotVarietyShow ? i.hotViewDataDone = !0 : e.getCMSData(2395, this.prepareHotViewData)
            }, episodeListRenderStart: function (t) {
                var e = this, i = this.episodeList, n = this.movieVideoType, r = this.movieListData, l = this.movieDataStat, c = i.VideoInfo, d = __INFO__.playlist, p = i.tabExposeStatConfig, h = i.itemExposeStatConfig, u = i.clickStatConfig, m = e.isTV, v = "";
                if (t && (l.tryLookDataDone = !0), l.mainVideosDataDone && l.subVideosDataDone && l.relativeSerialDataDone && l.CMSDataDone && l.relatedDataDone && l.hotViewDataDone && l.tryLookDataDone) {
                    var f = null, _ = [];
                    m && $.each(i.TabsJSON, function (t, e) {
                        "goods" == e.type && (v = e)
                    }), i.TabsJSON.length = 0, r.CMSData && (_ = _.concat(r.CMSData), h.CMSItem.show = !0, h.CMSItem.beContained.push("zhoubianTab")), r.relatedVideos && (_ = _.concat(r.relatedVideos), h.guanlianItem.show = !0, h.guanlianItem.beContained.push("zhoubianTab")), r.cmsAndRelateVideo = _, r.subVideos && (f = _.concat(r.subVideos), h.subVideoItem.show = !0, h.subVideoItem.beContained.push("zhoubianTab"));
                    var g = i.tryLook, y = __INFO__.video.albumPayPlatform, b = g && g.shouldShowVipTab, w = g && g.showVipTextTip, T = b && 1 === __INFO__.cid;
                    y && y.hasOwnProperty("141001") && 2 === __INFO__.cid;
                    if (2 !== __INFO__.cid && b) {
                        p.huiyuanTab.show = !0, $(".juji_cntBox").find(".juji_cnt").addClass("video-info");
                        var C = {};
                        C.title = "会员", C.type = n.TRYLOOK, C.tabClickStatStr = u.huiyuanTab, C.html = g.tryLookHtml && g.tryLookHtml.tabHtml, i.TabsJSON.push(C)
                    }
                    if (r.mainVideos) {
                        p.episodeTab.show = !0, h.episodeItem.show = !0, h.episodeItem.beContained.push("episodeTab");
                        var k = {};
                        k.title = "剧集", k.type = n.EPISODE, k.tabClickStatStr = u.episodeTab, 2 === __INFO__.cid && b && (k.hasTvVipBar = !0, k.showVipTextTip = w, k.tvVipBar = {}, k.tvVipBar.showBox = function () {
                            var t = g.tryLookHtml && g.tryLookHtml.tabHtml || "", e = $(t), i = $(".juji_bar");
                            i && i.length > 0 ? i.last().after(e) : $(".le_jujiCnt .rollBox").before(e), e.show()
                        });
                        var S = 1 === c.isend;
                        if (S || c.episode || (c.episode = c.nowEpisodes), (i.childNotVarietyShow || e.isGridType) && parseInt(c.episode, 10) && parseInt(c.nowEpisodes, 10) && (k.hasJujiBar = !0, k.jujiBar = new s, c.nowEpisodes && c.episode && (h.jujiBar.show = !0, h.jujiBar.beContained.push("episodeTab")), k.jujiBar.initBox(c.nowEpisodes, c.episode, S)), (i.childNotVarietyShow || e.isGridType) && d && d.playStatus && !S && (k.hasGenboBar = !0, k.genboBar = new o, h.genboBar.show = !0, h.genboBar.beContained.push("episodeTab"), k.genboBar.initBox(d.playStatus, k.hasJujiBar)), f && f.length > 0) {
                            h.zhoubianItem.show = !0, h.zhoubianItem.beContained.push("episodeTab");
                            for (var x = r.zhoubianObj = i.copyObjArray(f.slice(0, 5)), x = r.zhoubianObj = i.copyObjArray(f.slice(0, 5)), j = 0; j < x.length; j++)$.extend(x[j], {clickStatStr: u.zhoubianItem});
                            k.html = i.getEpisodeHtml({
                                videos: r.mainVideos,
                                isGridType: e.isGridType,
                                isShowOther: !0,
                                zhoubianObj: x,
                                relativeSerial: r.relativeSerial
                            })
                        } else k.html = i.getEpisodeHtml({
                            videos: r.mainVideos,
                            isGridType: e.isGridType,
                            isShowOther: !0,
                            zhoubianObj: null,
                            relativeSerial: r.relativeSerial
                        });
                        if (e.totalMain > i.pageSize) {
                            var L = m ? !0 : !1;
                            k.monthBox = new a, k.monthBox.initBox(e.totalMain, "juji", i.pageSize, r.mainVideos, e.pageNoMain, L), m || 1 === e.pageNoMain || (k.html = ""), k.hasMonthBox = !0, h.jujiPages.show = !0, h.jujiPages.beContained.push("episodeTab")
                        }
                        r.relativeSerial && (h.xiangguanItem.show = !0, h.xiangguanItem.beContained.push("episodeTab")), i.TabsJSON.push(k)
                    }
                    if (!T && (r.subVideos || r.cmsAndRelateVideo.length > 1)) {
                        p.zhoubianTab.show = !0;
                        var I = {};
                        if (I.title = "周边", I.type = n.RELATED, I.tabClickStatStr = u.zhoubianTab, e.totalOther > i.pageSize) {
                            var L = m ? !0 : !1;
                            I.monthBox = new a, I.monthBox.initBox(e.totalOther, "juji", i.pageSize, f, e.pageNo, L), I.hasMonthBox = !0, I.html = i.getEpisodeHtml({videos: f}), m || 1 === e.pageNo || (I.html = ""), i.TabsJSON.push(I), h.jujiPages.show = !0, h.jujiPages.beContained.push("zhoubianTab")
                        } else I.html = i.getEpisodeHtml({videos: f || r.cmsAndRelateVideo}), i.TabsJSON.push(I)
                    }
                    if (r.hotViewVideos) {
                        p.reyingTab.show = !0, h.reyingItem.show = !0, h.reyingItem.beContained.push("reyingTab");
                        var E = {};
                        E.title = "热映", E.type = n.HOTVIEW, E.tabClickStatStr = u.reyingTab, E.html = i.getEpisodeHtml({videos: r.hotViewVideos}), i.TabsJSON.push(E)
                    }
                    m && v && i.TabsJSON.push(v), i.initTabs(), e.isGridType || i.childNotVarietyShow || i.educatedNotVarietyShow ? ("trylook" === i.currentVtype && (i.currentVtype = "episode"), i.setActiveTab(i.currentVtype), b && (0 === __INFO__.video.trylook ? i.setActiveTab("episode") : i.setActiveTab("trylook")), i.positionItem({vid: i.currentVid})) : (b ? i.setActiveTab("trylook") : i.setActiveTab("hotView"), i.positionItem({vid: null}));
                    var N = e.playListEvent;
                    N.on(N.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    }), i.episodeInited = !0, e.playListEvent.emit("episodeSuc")
                }
            }, initLogEvent: function () {
                var t = this;
                window.LEPass.onStatusChange(function (e) {
                    var i = t.isVip;
                    if ("signIn" == e)LEPass.getUserInfo() && LEPass.getMemberInfo(function (e) {
                        if (t.episodeList.tvIsVIP = !(!e || !e.isvip), t.isVip = !(!e || !e.isvip), i != t.isVip) {
                            for (var a in t.movieDataStat)t.movieDataStat[a] = !1;
                            t.episodeList.episodeInited = !1, t.playListEvent.emit("episodeListReInit")
                        }
                    }); else if (t.episodeList.tvIsVIP = !1, t.isVip = !1, i != t.isVip) {
                        for (var a in t.movieDataStat)t.movieDataStat[a] = !1;
                        t.episodeList.episodeInited = !1, t.playListEvent.emit("episodeListReInit")
                    }
                })
            }, prepareCMSData: function (t) {
                var e = n, i = e.episodeList, a = e.movieListData, s = e.movieDataStat, o = i.clickStatConfig, r = {CMSData: []};
                if (t && t.blockContent && t.blockContent.length > 0) {
                    i.prepareCommonData({
                        videos: t.blockContent,
                        videoDatas: r,
                        videoDatasProperty: "CMSData",
                        videoDataStats: s,
                        videoDataStatsProperty: "CMSDataDone",
                        clickStatStr: o.CMSItem,
                        extendObj: {clientExtraHtml: '<em class="em01">推荐</em>'}
                    });
                    var l = Math.floor(Math.random() * t.blockContent.length);
                    a.CMSData = [t.blockContent[l]]
                } else s.CMSDataDone = !0
            }, prepareHotViewData: function (t) {
                var e = n, i = e.episodeList, a = e.movieListData, s = e.movieDataStat, o = i.clickStatConfig;
                t && t.blockContent && t.blockContent.length > 0 ? i.prepareCommonData({
                    videos: t.blockContent,
                    videoDatas: a,
                    videoDatasProperty: "hotViewVideos",
                    videoDataStats: s,
                    videoDataStatsProperty: "hotViewDataDone",
                    clickStatStr: o.reyingItem
                }) : s.hotViewDataDone = !0
            }, prepareMovieVideos: function (t) {
                var e = n, i = e.episodeList, a = e.movieListData, s = e.movieDataStat, o = e.movieVideoType, r = i.clickStatConfig, l = e.isTV;
                if (t) {
                    if (l && (t = t.data || {}), i.setCurrentTabsType(t.location), l && t.episode && t.episode.videolist && t.episode.videolist.length > 0) {
                        e.totalMain = t.episode.cnt, e.pageNoMain = t.episode.currentpage, e.albumPayPlatform = t.episode.videolist;
                        var c = t.episode.videolist, d = e.nextVidsObj || {};
                        $.each(c, function (t, e) {
                            d[e.vid] = e.nextvid || ""
                        }), i.prepareCommonData({
                            videos: c,
                            videoDatas: a,
                            videoDatasProperty: "mainVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "mainVideosDataDone",
                            clientVideoType: o.EPISODE,
                            clickStatStr: r.episodeItem,
                            videoType: "main"
                        })
                    } else if (!l && t.data && t.data.length > 0) {
                        e.totalMain = t.total, e.pageNoMain = t.pageNo, e.albumPayPlatform = t.data;
                        var c = t.data;
                        i.prepareCommonData({
                            videos: c,
                            videoDatas: a,
                            videoDatasProperty: "mainVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "mainVideosDataDone",
                            clientVideoType: o.EPISODE,
                            clickStatStr: r.episodeItem,
                            videoType: "main"
                        })
                    } else s.mainVideosDataDone = !0;
                    if (l && t.otherlist && t.otherlist.videolist && t.otherlist.videolist.length > 0) {
                        e.totalOther = t.otherlist.cnt, e.pageNo = t.otherlist.currentpage;
                        var p = t.otherlist.videolist;
                        i.prepareCommonData({
                            videos: p,
                            videoDatas: a,
                            videoDatasProperty: "subVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "subVideosDataDone",
                            clientVideoType: o.RELATED,
                            clickStatStr: r.subVideoItem,
                            videoType: "other"
                        })
                    } else if (!l && t.dataOther && t.dataOther.length > 0) {
                        e.totalOther = t.totalOther, e.pageNo = t.pageNo;
                        var p = t.dataOther;
                        i.prepareCommonData({
                            videos: p,
                            videoDatas: a,
                            videoDatasProperty: "subVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "subVideosDataDone",
                            clientVideoType: o.RELATED,
                            clickStatStr: r.subVideoItem,
                            videoType: "other"
                        })
                    } else s.subVideosDataDone = !0;
                    if (t.dataRelVideo && t.dataRelVideo.length > 0) {
                        var h = t.dataRelVideo;
                        i.prepareCommonData({
                            videos: h,
                            videoDatas: a,
                            videoDatasProperty: "relatedVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "relatedDataDone",
                            clickStatStr: r.guanlianItem
                        })
                    } else s.relatedDataDone = !0;
                    if (t.dataRelAlbum && t.dataRelAlbum.length > 0) {
                        for (var u = t.dataRelAlbum, m = {
                            clientVideoType: o.HOLDHERE,
                            clickStatStr: r.xiangguanItem
                        }, v = 0; v < u.length; v++)$.extend(u[v], m);
                        a.relativeSerial = u, s.relativeSerialDataDone = !0
                    } else s.relativeSerialDataDone = !0
                }
            }, getNextPageVid: function () {
                var t = "", e = this, i = e.episodeList, a = i.currentVid, s = e.nextVidsObj || {};
                return $.each(s, function (e, i) {
                    return a == e ? (t = i, !1) : void 0
                }), t
            }
        };
        i.exports = n
    }, LTK["bz/www_play/episodeList/episodeYearBox"] = function (t, e, i) {
        "use strict";
        var a = function () {
            this.init()
        };
        a.prototype = {
            constructor: a, init: function () {
                this.initDom()
            }, initDom: function () {
                this.playListEvent = t("bz/www_play/events"), this.$listContener = $(".le_jujibox"), this.$rollBox = $(".le_jujiCnt .rollBox"), this.yearDomStr = "", this.yearDom = null, this.yearItemWidth = 54, this.type = "", this.yearsObj = {}, this.dataArr = [], this.currentYear = (new Date).getFullYear(), this.limitNumber = 4, this.currentIndexs = [], this.linkedMonthBox = null, this.clickStatConfig = {yearPages: "ch=www&pg=play_v1&bk=yearPages&link=pages"}
            }, initEvent: function () {
                $(".j-yearList").on("click", $.proxy(this.yearClickLogic, this)), $(".ui_roll_larr").on("click", $.proxy(this.yearListScrollLeft, this)), $(".ui_roll_rarr").on("click", $.proxy(this.yearListScrollRight, this))
            }, yearClickLogic: function (t) {
                $(".j-yearList").removeClass("cur");
                var e = $(t.currentTarget);
                e.addClass("cur");
                var i = parseInt(e.attr("data-title"), 10), a = !0;
                i > this.currentYear && (a = !1), this.currentYear = i;
                var s = $(".j-yearList").index(e);
                if (this.dataArr.length > this.limitNumber) {
                    for (var o = !1, n = 0; !o && 100 > n;) {
                        n++;
                        for (var r = 0; r < this.currentIndexs.length; r++)s === this.currentIndexs[r] && (o = !0);
                        o || (a ? this.yearListScrollRight() : this.yearListScrollLeft())
                    }
                    s === this.currentIndexs[0] ? this.yearListScrollLeft() : s === this.currentIndexs[this.currentIndexs.length - 1] && this.yearListScrollRight()
                }
                this.linkedMonthBox && this.linkedMonthBox.episodeMonthRefresh(this.yearsObj[this.currentYear], "month", this.currentYear)
            }, yearListScrollLeft: function () {
                this.yearListScroll(1)
            }, yearListScrollRight: function () {
                this.yearListScroll(-1)
            }, yearListScroll: function (t) {
                var e = this.yearItemWidth;
                $(".juji_yearCnt").stop(!0, !0);
                var i = $(".juji_yearCnt").position().left + t * e, a = 0, s = -e * ($(".j-yearList").length - 4);
                if (i > a)return i = a, !1;
                if (s > i)return i = s, !1;
                if (this.arrowHide(3), 0 === i && this.arrowHide(1), i === -e * ($(".j-yearList").length - 4) && this.arrowHide(2), 1 === t) {
                    var o = this.currentIndexs[0] - 1;
                    if (0 > o)return !1;
                    this.currentIndexs.unshift(o), this.currentIndexs.pop()
                } else if (-1 === t) {
                    var n = this.currentIndexs[this.currentIndexs.length - 1] + 1;
                    if (n > this.dataArr.length - 1)return !1;
                    this.currentIndexs.push(n), this.currentIndexs.shift()
                }
                return $(".juji_yearCnt").animate({left: i}, 300), !0
            }, initBox: function (t, e, i, a) {
                this.type = t, this.yearsObj = e, this.currentYear = i, this.linkedMonthBox = a, this.convertData(), this.initViewed()
            }, convertData: function () {
                var t = this.yearsObj, e = this.dataArr;
                if ("year" === this.type) {
                    for (var i in t)if (t.hasOwnProperty(i)) {
                        var a = i + "年", s = {};
                        s.title = a, e.push(s)
                    }
                    e.sort(function (t, e) {
                        return parseInt(e.title, 10) - parseInt(t.title, 10)
                    })
                }
            }, initViewed: function () {
                var t = '<div class="ui_roll_verbar juji_titBox juji_yearBox j_juji_yearBox"><div class="ui_roll_larr"><div class="ico_juji_larr"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div></div><div class="ui_roll_body juji_yearBody"><ul class="ui_roll_cnt juji_yearCnt">' + this.getItemTpl(this.dataArr) + '</ul></div><div class="ui_roll_rarr"><div class="ico_juji_rarr"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div></div></div>';
                this.yearDomStr = t
            }, getItemTpl: function (t) {
                var e = '<li class="{jsAddedClass}" k-name="send-click-stat" data-click-stat="' + this.clickStatConfig.yearPages + '" data-title="{title}">{title}</li>', i = new Tpl(e, function (t) {
                    t.jsAddedClass = "j-yearList"
                });
                return i.render(t)
            }, showBox: function () {
                this.currentIndexs = [], this.yearDom = $(this.yearDomStr);
                var t = $(".j_genboBar"), e = $(".j_jujiBar"), i = $(".j_jujiMonthBox");
                if (t && t.length > 0 ? t.after(this.yearDom) : e && e.length > 0 ? e.after(this.yearDom) : i && i.length > 0 ? i.before(this.yearDom) : this.$rollBox.before(this.yearDom), this.dataArr.length <= this.limitNumber) {
                    this.arrowHide(0);
                    for (var a = 0; a < this.dataArr.length; a++)this.currentIndexs.push(a)
                } else {
                    this.arrowHide(1);
                    for (var s = 0; s < this.limitNumber; s++)this.currentIndexs.push(s)
                }
                this.initEvent(), this.yearDom.show(), this.disableSelection(this.yearDom), this.activeYearCurrentPage(this.currentYear)
            }, hideBox: function () {
                this.yearDom && this.yearDom.hide()
            }, activeYearCurrentPage: function (t) {
                if ("year" === this.type)for (var e = t + "年", i = $(".j-yearList"), a = 0; a < i.length; a++)i.eq(a).attr("data-title") === e && i.eq(a).trigger("click")
            }, arrowHide: function (t) {
                var e = $(".ui_roll_larr"), i = $(".ui_roll_rarr");
                switch (e.css("visibility", "visible"), i.css("visibility", "visible"), t) {
                    case 0:
                        e.css("visibility", "hidden"), i.css("visibility", "hidden");
                        break;
                    case 1:
                        e.css("visibility", "hidden");
                        break;
                    case 2:
                        i.css("visibility", "hidden")
                }
            }, disableSelection: function (t) {
                t.each(function () {
                    "undefined" != typeof this.onselectstart ? this.onselectstart = function () {
                        return !1
                    } : "undefined" != typeof this.style.MozUserSelect ? this.style.MozUserSelect = "none" : this.onmousedown = function () {
                        return !1
                    }
                })
            }
        }, i.exports = a
    }, LTK["bz/www_play/episodeList/episodeZYPositive"] = function (t, e, i) {
        "use strict";
        var a = function () {
            this.init()
        };
        a.prototype = {
            constructor: a, init: function () {
                this.initDom()
            }, initDom: function () {
                this.positiveDom = null, this.upDownStr = ""
            }, initBox: function (t, e) {
                this.positiveData = t, this.curPositiveStr = e || "", this.positiveDomStr = this.initViewed()
            }, initViewed: function () {
                var t = "", e = [], i = this.positiveData;
                if (i.left_data) {
                    var a = '<li><a href="javascript:;" class="a_jujiTemp click-refresh" data-vid="{vid}" data-vtype="listing" title="{title}">上一期：{subTitle}</a></li>', s = new Tpl(a).render(i.left_data);
                    s && e.push(s)
                }
                if (i.right_data) {
                    var o = '<li><a href="javascript:;" class="a_jujiTemp click-refresh" data-vid="{vid}" data-vtype="listing" title="{title}">下一期：{subTitle}</a></li>', s = new Tpl(o).render(i.right_data);
                    s && e.push(s)
                }
                switch (e.length) {
                    case 2:
                        this.upDownStr = '<div class="juji_nperBox"><ul class="juji_nperCnt two">' + e[0] + e[1] + "</ul></div>";
                        break;
                    case 1:
                        this.upDownStr = '<div class="juji_nperBox"><ul class="juji_nperCnt one">' + e[0] + "</ul></div>";
                        break;
                    default:
                        this.upDownStr = ""
                }
                return this.curPositiveStr && (t = '<div class="juji_positive">' + this.curPositiveStr + this.upDownStr + "</div>"), t
            }, showBox: function () {
                this.positiveDom = $(this.positiveDomStr);
                var t = $(".juji_bar"), e = $(".le_jujiCnt .rollBox");
                t && t.length > 0 ? t.after(this.positiveDom) : e.before(this.positiveDom), this.positiveDom.show()
            }, hideBox: function () {
                this.positiveDom && this.positiveDom.remove()
            }
        }, i.exports = a
    }, LTK["bz/www_play/episodeList/episodeListOfShortVideo"] = function (t, e, i) {
        "use strict";
        var a = t("bz/www_play/episodeList/episodeMonthBox"), s = t("bz/www_play/episodeList/episodeYearBox"), o = t("bz/www_play/episodeList/episodeListGenboBar"), n = t("bz/www_play/episodeList/episodeZYPositive"), r = {
            init: function (t) {
                this.initDom(t), this.initEvent(), this.initShortVideoPage()
            }, initDom: function (t) {
                this.episodeList = t;
                var e = this.episodeList.INFO, i = e.cid, a = this.episodeList.VideoInfo;
                if (this.isMusic = 9 === i, this.isZixun = 1009 === i || 30 == i || 1029 == i || 1035 == i, this.isZB = (2 === i || 11 === i || 16 === i) && a.pid, this.isZY = 11 === i, this.isZY) {
                    var s = e.playlist.relationId, o = "正片" !== a.albumtypeName;
                    o && s && (a.pid = s)
                }
                this.resetReleaseDate = !1;
                var n = a.videotypeName;
                if (4 === i || 22 === i || 17 === i || 16 === i || 11 === i || 2 === i) {
                    var r = n && "正片" !== n;
                    r && (this.resetReleaseDate = !0)
                }
                switch (this.isSingleVideo = !a.pid, this.getDataOther = !0, i) {
                    case 14:
                    case 23:
                    case 20:
                    case 3:
                    case 9:
                    case 34:
                        this.getDataOther = !1;
                        break;
                    default:
                        this.getDataOther = !0
                }
                this.shortVideoData = {
                    yearData: null,
                    subVideos: null,
                    relatedVideos: null,
                    relativeSerial: null,
                    CMSData: null,
                    cmsAndRelateVideo: null,
                    videosAround: null,
                    zhoubianObj: null,
                    positiveData: null,
                    pointData: null,
                    recommendData: null,
                    currentVideoData: null
                }, this.shortVideoDataStat = {
                    yearDataDone: !1,
                    subVideosDataDone: !1,
                    relatedDataDone: !1,
                    relativeSerialDataDone: !1,
                    positiveDataDone: !1,
                    pointDataDone: !1,
                    CMSDataDone: !1,
                    recommendDataDone: !1,
                    currentVideoDataDone: !1
                }, this.shortVideoType = {
                    EPISODE: "episode",
                    RELATED: "related",
                    XIANGGUAN: "xiangguan",
                    LISTING: "listing",
                    ZYZHOUBIAN: "zyzhoubian",
                    HOLDHERE: ""
                }, this.recommendDataCache = [], this.zyPointVidsArr = [], this.isZYShowDataOther = !1, this.totalOther = 0, this.totalMain = 0, this.pageNoMain = 1, this.pageNo = 1
            }, initEvent: function () {
                this.playListEvent = t("bz/www_play/events"), this.playListEvent.on("switchMonthEpisodeData", this.switchMonthEpisodeData), this.playListEvent.on("switchJujiEpisodeData", this.switchJujiEpisodeData), this.playListEvent.on("getNextRecVid", this.getNextRecommendVid), this.playListEvent.on("getNextZYPointVid", this.getNextZYPointVid), this.playListEvent.on("episodeListRenderStart", $.proxy(this.episodeListRenderStart, this)), this.playListEvent.on("episodeListReInit", $.proxy(this.initShortVideoPage, this)), this.playListEvent.on("REFRESH_ZY_LISTING", $.proxy(this.doRefreshListing, this)), this.playListEvent.on("zyListingRefresh", $.proxy(this.zyListingRender, this))
            }, switchMonthEpisodeData: function (t, e, i, a) {
                var s = r, o = s.episodeList, n = o.dataFrom, l = s.shortVideoData, c = l.zhoubianObj, d = l.relativeSerial, p = o.clickStatConfig;
                if (i && i[t]) {
                    var h = i[t], u = n.ReleaseDate;
                    a && a === t && (u = n.FristRelease);
                    var m = "";
                    m = 11 == o.INFO.cid ? o.getEpisodeHtml({
                        videos: h,
                        dataFrom: n.ZYPositive,
                        extraClass: "click-refresh"
                    }) : o.getEpisodeHtml({
                        videos: h,
                        isShowOther: !0,
                        zhoubianObj: c,
                        relativeSerial: d,
                        dataFrom: u
                    }), o.doEpisodeSwitch(e, m)
                } else {
                    var v = o.VideoInfo, f = t.split("-"), _ = f[0], g = f[1], y = s.getDataOther ? 0 : 1, b = o.INFO.cid, w = o.INFO.vid, T = null;
                    T = 11 === b ? {
                        id: v.pid,
                        cid: b,
                        vid: w,
                        year: _,
                        month: g,
                        platform: "pc",
                        type: "period"
                    } : {
                        id: v.pid,
                        platform: "pc",
                        platformId: 420001,
                        year: _,
                        month: g,
                        videoType: y,
                        order: "REVERSE"
                    }, o.getVideoListByDate(T, function (a) {
                        if (11 == b && (a = a.data || {}, a.data = a.period || {}), a && a.data && a.data[_] && a.data[_][g] && a.data[_][g].length > 0) {
                            var r = a.data[_][g] || [];
                            for (var l in r)r[l].vid || (r[l].vid = r[l].id);
                            var h = o.getVideoIds(r);
                            o.getPidsInfo(h.toString(), function (a) {
                                var l = {clientVideoType: s.shortVideoType.EPISODE, clickStatStr: p.episodeItem};
                                o.setViewCount(r, a, l), i[t] = r;
                                var h = "";
                                h = 11 == o.INFO.cid ? o.getEpisodeHtml({
                                    videos: r,
                                    dataFrom: n.ZYPositive,
                                    extraClass: "click-refresh"
                                }) : o.getEpisodeHtml({
                                    videos: r,
                                    isShowOther: !0,
                                    zhoubianObj: c,
                                    relativeSerial: d,
                                    dataFrom: n.ReleaseDate
                                }), o.doEpisodeSwitch(e, h)
                            }), a.dataMapping && a.dataMapping.length > 0 && (o.dataMapping = s.analysisDataMapping(a), o.map = s.episodeMap(a))
                        }
                    })
                }
            }, switchJujiEpisodeData: function (t, e, i) {
                var a = r, s = a.episodeList, o = "episode" === s.currentVtype, n = a.shortVideoData.zhoubianObj, l = a.shortVideoData.relativeSerial, c = s.clickStatConfig;
                if (i && i[t]) {
                    var d = i[t], p = s.getEpisodeHtml({
                        videos: d,
                        isShowOther: a.isMusic,
                        zhoubianObj: n,
                        relativeSerial: l,
                        dataFrom: a.isMusic ? s.dataFrom.Music : ""
                    });
                    s.doEpisodeSwitch(e, p)
                } else {
                    var h = s.VideoInfo;
                    if (11 == s.INFO.cid && a.isZYShowDataOther) {
                        var u = {id: h.pid, vid: h.vid, cid: s.INFO.cid, page: t, type: "otherlist", platform: "pc"};
                        s.getVideos(u, function (o) {
                            if (o = o.data || {}, o && o.otherlist && o.otherlist.videolist && o.otherlist.videolist.length > 0) {
                                var n = o.otherlist.videolist, r = s.getVideoIds(n);
                                s.getPidsInfo(r.toString(), function (o) {
                                    var r = {
                                        clientVideoType: a.shortVideoType.ZYZHOUBIAN,
                                        clickStatStr: c.subVideoItem
                                    };
                                    s.setViewCount(n, o, r), i[t] = n;
                                    var l = s.getEpisodeHtml({videos: n});
                                    s.doEpisodeSwitch(e, l)
                                })
                            }
                        })
                    } else {
                        var u = {
                            id: h.pid,
                            cid: s.INFO.cid,
                            platform: "pc",
                            eptype: o ? "POSITIVE" : "NON_POSITIVE",
                            size: s.pageSize,
                            page: t
                        };
                        s.getVideos(u, function (r) {
                            if (r && r.data && r.data.length > 0) {
                                var d = r.data, p = s.getVideoIds(d);
                                s.getPidsInfo(p.toString(), function (r) {
                                    var p = {
                                        clientVideoType: o ? a.shortVideoType.EPISODE : a.shortVideoType.RELATED,
                                        clickStatStr: o ? c.episodeItem : c.subVideoItem
                                    };
                                    s.setViewCount(d, r, p), i[t] = d;
                                    var h = s.getEpisodeHtml({
                                        videos: d,
                                        isShowOther: a.isMusic,
                                        zhoubianObj: n,
                                        relativeSerial: l,
                                        dataFrom: a.isMusic ? s.dataFrom.Music : ""
                                    });
                                    s.doEpisodeSwitch(e, h)
                                })
                            }
                        })
                    }
                }
            }, getNextRecommendVid: function (t) {
                var e = r, i = t || e.episodeList.currentVid;
                if (23941833 == i) {
                    var a = $(".j_jujiKandian").eq(1).attr("data-vid");
                    return a
                }
                for (var s = e.recommendDataCache, o = s.length, n = 0; o > n; n++)if (i == s[n] && n !== o - 1)return s[n + 1];
                return ""
            }, getNextZYPointVid: function (t) {
                for (var e = r, i = (e.shortVideoData, t || e.episodeList.currentVid), a = e.zyPointVidsArr, s = a.length, o = 0; s > o; o++)if (i == a[o] && o !== s - 1)return a[o + 1];
                return ""
            }, initShortVideoPage: function () {
                var e, i = this, a = this.episodeList, s = a.VideoInfo, o = a.clickStatConfig, n = s.pid, r = a.INFO.cid, l = s.vid, c = i.isMusic, d = i.isZixun, p = i.isZY, h = i.isZB, u = i.isSingleVideo, m = 0, v = 0;
                p && s.nowEpisodes ? (e = s.nowEpisodes, i.year = m = parseInt(e.slice(0, 4)) || 0, i.month = v = parseInt(e.slice(4, 6)) || 0) : c || d || !s.releasedate || i.resetReleaseDate || (e = s.releasedate.split(" ")[0], i.year = m = parseInt(e.split("-")[0], 10) || 0, i.month = v = parseInt(e.split("-")[1], 10) || 0);
                var f = i.shortVideoDataStat, _ = i.shortVideoData, g = i.shortVideoType, y = "1" == s.varietyShow;
                if (a.getCMSData(2483, this.prepareCMSData), (y || h) && !u) {
                    var b = {id: n, cid: r, platform: "pc", vid: l};
                    c || d || (b.year = m, b.month = v), d || p || (b.relvideo = 1, b.relalbum = 1), a.getVideos(b, this.prepareShortVideos)
                }
                if ((u || !y || 3 == r || d) && !h) {
                    var w = t("bz/www_play/isShortVideo"), T = w.isShortVideo, C = T ? "rec_0021" : "rec_0023", k = a.VideoInfo;
                    a.prepareCommonData({
                        videos: [k],
                        videoDatas: _,
                        videoDatasProperty: "currentVideoData",
                        videoDataStats: f,
                        videoDataStatsProperty: "currentVideoDataDone",
                        clientVideoType: g.XIANGGUAN,
                        clickStatStr: o.currentItem,
                        videoType: "recommend"
                    }), a.getRecommendData({
                        uid: LETV.cookie("ssouid") ? LETV.cookie("ssouid") : 0,
                        lc: Stats.getLC(),
                        cid: r,
                        pid: n,
                        vid: l,
                        pt: "0001",
                        area: C,
                        num: 20
                    }, this.prepareRecommendData)
                }
            }, episodeListRenderStart: function () {
                var t, e = this, i = this.episodeList, n = i.VideoInfo, r = i.dataFrom, l = i.episodeRecommend, c = i.tabExposeStatConfig, d = i.itemExposeStatConfig, p = i.clickStatConfig, h = "1" == n.varietyShow, u = i.map, m = i.INFO.cid, v = n.vid, f = e.isMusic, _ = e.isZixun, g = e.isZY, y = e.isZB, b = 0, w = 0, T = e.playListEvent;
                if (g && n.nowEpisodes ? (t = n.nowEpisodes, e.year = b = parseInt(t.slice(0, 4)) || 0, e.month = w = parseInt(t.slice(4, 6)) || 0) : f || _ || !n.releasedate || e.resetReleaseDate || (t = n.releasedate.split(" ")[0], b = parseInt(t.split("-")[0], 10), w = parseInt(t.split("-")[1], 10)), 1009 == m && !i.randomInited) {
                    var C = Math.random();
                    if (C > 0 && .05 > C) {
                        i.abFlag = !0;
                        for (var k in p) {
                            var S = p[k];
                            S.indexOf("moren") < 0 && (p[k] += "&moren=1")
                        }
                        for (var k in c) {
                            var x = c[k].statStr;
                            x.indexOf("moren") < 0 && (c[k].statStr += "&moren=1")
                        }
                        for (var k in d) {
                            var j = d[k].statStr;
                            j.indexOf("moren") < 0 && (d[k].statStr += "&moren=1")
                        }
                    } else i.abFlag = !1;
                    i.randomInited = !0
                }
                var L = e.shortVideoDataStat, I = e.shortVideoData, E = e.shortVideoType;
                if (11 == m && e.isZYShowDataOther && L.subVideosDataDone) {
                    c.zhoubianTab.show = !0;
                    var N = I.subVideos;
                    if (N && N.length > 0) {
                        d.subVideoItem.show = !0, d.subVideoItem.beContained.push("zhoubianTab");
                        var O = {};
                        O.title = "周边", O.type = E.ZYZHOUBIAN, O.tabClickStatStr = p.zhoubianTab, e.totalOther > i.pageSize ? (O.monthBox = new a, O.monthBox.initBox(e.totalOther, "juji", i.pageSize, N, e.pageNo, !0), O.hasMonthBox = !0, O.html = i.getEpisodeHtml({videos: N}), i.TabsJSON.push(O), d.jujiPages.show = !0, d.jujiPages.beContained.push("zhoubianTab")) : (O.html = i.getEpisodeHtml({videos: N}), i.TabsJSON.push(O))
                    }
                    i.initTabs(), i.setActiveTab(E.ZYZHOUBIAN), i.positionItem({vid: i.currentVid}), i.episodeInited = !0, e.playListEvent.emit("episodeSuc"), T.on(T.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    })
                }
                if (11 == m && !e.isZYShowDataOther && L.yearDataDone && L.positiveDataDone && L.pointDataDone && L.relativeSerialDataDone) {
                    if (e.zyListingRender(), c.qishuTab.show = !0, I.yearData && I.yearData.length > 0) {
                        d.episodeItem.show = !0, d.episodeItem.beContained.push("qishuTab");
                        var D = I.yearData, V = D.currentData, P = {};
                        if (P.title = "往期", P.type = E.EPISODE, P.tabClickStatStr = p.qishuTab, P.html = i.getEpisodeHtml({
                                videos: V,
                                dataFrom: r.ZYPositive,
                                extraClass: "click-refresh"
                            }), P.hasYearBox = !0, P.hasMonthBox = !0, P.yearBox = new s, P.monthBox = new a, !b && !w) {
                            var A = [];
                            for (var B in D.years)D.years.hasOwnProperty(B) && A.push(D.years[B]);
                            var M = A.length, F = A[M - 1].length, R = A[M - 1][F - 1];
                            b = R.split("-")[0], w = R.split("-")[1]
                        }
                        P.yearBox.initBox("year", D.years, b, P.monthBox);
                        var U = null;
                        U = e.episodeList.episodeDate ? e.episodeList.episodeDate : b + "-" + w, P.monthBox.firstDateTag = U, P.monthBox.initBox(D.years[b] || [], "month", i.pageSize, V, U), d.yearPages.show = !0, d.yearPages.beContained.push("qishuTab"), d.monthPages.show = !0, d.monthPages.beContained.push("qishuTab"), H && !Y && (P.hasGenboBar = !0, P.genboBar = new o, d.genboBar.show = !0, d.genboBar.beContained.push("qishuTab"), P.genboBar.initBox(__INFO__.playlist.playStatus, !1)), i.TabsJSON.push(P)
                    }
                    i.initTabs(), i.setActiveTab(E.LISTING), i.positionItem({vid: i.currentVid}), i.episodeInited = !0, e.playListEvent.emit("episodeSuc"), T.on(T.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    })
                }
                if (L.yearDataDone && L.CMSDataDone && L.recommendDataDone && L.currentVideoDataDone) {
                    if (I.yearData && I.yearData.length > 0) {
                        d.episodeItem.show = !0, _ ? (c.zhuanjiTab.show = !0, d.episodeItem.beContained.push("zhuanjiTab")) : (c.qishuTab.show = !0, d.episodeItem.beContained.push("qishuTab"));
                        var D = I.yearData, V = null;
                        V = _ ? I.yearData : D.currentData;
                        var z = {};
                        if (z.title = _ ? "专辑" : "期数", z.type = E.EPISODE, z.tabClickStatStr = _ ? p.zhuanjiTab : p.qishuTab, z.html = i.getEpisodeHtml({
                                videos: V,
                                isShowOther: !0,
                                zhoubianObj: null,
                                relativeSerial: st,
                                dataFrom: _ ? "" : r.FristRelease
                            }), _)e.totalMain > i.pageSize && (z.monthBox = new a, z.monthBox.initBox(e.totalMain, "juji", i.pageSize, V, e.pageNoMain), z.hasMonthBox = !0, 1 !== e.pageNoMain && (z.html = ""), d.jujiPages.show = !0, d.jujiPages.beContained.push("zhuanjiTab")); else {
                            if (z.hasYearBox = !0, z.hasMonthBox = !0, z.yearBox = new s, z.monthBox = new a, !b && !w) {
                                var A = [];
                                for (var B in D.years)D.years.hasOwnProperty(B) && A.push(D.years[B]);
                                var M = A.length, F = A[M - 1].length, R = A[M - 1][F - 1];
                                b = R.split("-")[0], w = R.split("-")[1]
                            }
                            z.yearBox.initBox("year", D.years, b, z.monthBox);
                            var U = null;
                            if (U = e.episodeList.episodeDate ? e.episodeList.episodeDate : b + "-" + w, z.monthBox.firstDateTag = U, z.monthBox.initBox(D.years[b] || [], "month", i.pageSize, V, U), d.yearPages.show = !0, d.yearPages.beContained.push("qishuTab"), d.monthPages.show = !0, d.monthPages.beContained.push("qishuTab"), g || 34 === __INFO__.cid || 2 === __INFO__.cid) {
                                var H = __INFO__.playlist && __INFO__.playlist.playStatus, Y = 1 === n.isend;
                                H && !Y && (z.hasGenboBar = !0, z.genboBar = new o, d.genboBar.show = !0, d.genboBar.beContained.push("qishuTab"), z.genboBar.initBox(__INFO__.playlist.playStatus, !1))
                            }
                        }
                        i.TabsJSON.push(z)
                    }
                    c.xiangguanTab.show = !0;
                    var q = I.CMSData;
                    q && q.length > 0 && (d.CMSItem.show = !0, d.CMSItem.beContained.push("xiangguanTab")), d.recommendItem.show = !0, d.recommendItem.beContained.push("xiangguanTab"), d.currentItem.show = !0, d.currentItem.beContained.push("xiangguanTab");
                    var W = I.recommendData, G = i.abFlag;
                    1009 == m && (G ? (d.recommendItem.isAB = !0, l.moren = 1) : (d.recommendItem.isAB = !1, l.moren = 0));
                    var J = e.recommendDataCache;
                    J.push(v);
                    for (var K = W.length, X = 0; K > X; X++)J.push(W[X].vid || "");
                    var Z = {};
                    Z.title = "相关", Z.type = E.XIANGGUAN, Z.tabClickStatStr = p.xiangguanTab;
                    var Q = i.getEpisodeHtml({
                        videos: q,
                        dataFrom: r.CMS
                    }), tt = i.getEpisodeHtml({
                        videos: I.currentVideoData,
                        dataFrom: r.CurrentVideo
                    }), et = i.getEpisodeHtml({videos: W, dataFrom: r.RecommendData});
                    Z.html = Q + tt + et, i.TabsJSON.push(Z), 1009 == m && (G ? (i.TabsJSON.reverse(), i.currentVtype = "xiangguan", i.playingVtype = "xiangguan") : i.currentVtype = "episode"), i.initTabs(), i.setActiveTab(i.currentVtype), i.positionItem({vid: i.currentVid}), i.episodeInited = !0, e.playListEvent.emit("episodeSuc"), T.on(T.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    })
                }
                if (3 != m && 11 != m && !_ && L.yearDataDone && L.subVideosDataDone && L.relatedDataDone && L.relativeSerialDataDone && L.CMSDataDone) {
                    var it = I.videosAround = [], at = [];
                    if (I.CMSData && (at = at.concat(I.CMSData), y && (d.CMSItem.show = !0, d.CMSItem.beContained.push("zhoubianTab"))), I.relatedVideos && (at = at.concat(I.relatedVideos), it = it.concat(I.relatedVideos), d.guanlianItem.show = !0, y ? d.guanlianItem.beContained.push("zhoubianTab") : d.guanlianItem.beContained.push("pianduanTab")), I.subVideos && (it = it.concat(I.subVideos), e.getDataOther && (at = at.concat(I.subVideos)), d.subVideoItem.show = !0, y ? d.subVideoItem.beContained.push("zhoubianTab") : d.subVideoItem.beContained.push("pianduanTab")), I.yearData && I.yearData.length > 0) {
                        d.episodeItem.show = !0, f ? (c.liebiaoTab.show = !0, d.episodeItem.beContained.push("liebiaoTab")) : (c.qishuTab.show = !0, d.episodeItem.beContained.push("qishuTab"));
                        var D = I.yearData, V = null;
                        V = f ? I.yearData : D.currentData;
                        var z = {};
                        z.title = f ? "列表" : "期数", z.type = E.EPISODE, z.tabClickStatStr = f ? p.liebiaoTab : p.qishuTab;
                        var st = I.relativeSerial;
                        if (st && st.length > 0 && (d.xiangguanItem.show = !0, f ? d.xiangguanItem.beContained.push("liebiaoTab") : d.xiangguanItem.beContained.push("qishuTab")), at && at.length > 0) {
                            d.zhoubianItem.show = !0, f ? d.zhoubianItem.beContained.push("liebiaoTab") : d.zhoubianItem.beContained.push("qishuTab");
                            for (var ot = I.zhoubianObj = i.copyObjArray(at.slice(0, 5)), nt = 0; nt < ot.length; nt++)$.extend(ot[nt], {clickStatStr: p.zhoubianItem});
                            z.html = i.getEpisodeHtml({
                                videos: V,
                                isShowOther: !0,
                                zhoubianObj: ot,
                                relativeSerial: st,
                                dataFrom: f ? r.Music : r.FristRelease
                            })
                        } else z.html = i.getEpisodeHtml({
                            videos: V,
                            isShowOther: !0,
                            zhoubianObj: null,
                            relativeSerial: st,
                            dataFrom: f ? r.Music : r.FristRelease
                        });
                        if (f)e.totalMain > i.pageSize && (z.monthBox = new a, z.monthBox.initBox(e.totalMain, "juji", i.pageSize, V, e.pageNoMain), z.hasMonthBox = !0, 1 !== e.pageNoMain && (z.html = ""), d.jujiPages.show = !0, d.jujiPages.beContained.push("liebiaoTab")); else {
                            if (z.hasYearBox = !0, z.hasMonthBox = !0, z.yearBox = new s, z.monthBox = new a, !b && !w) {
                                var A = [];
                                for (var B in D.years)D.years.hasOwnProperty(B) && A.push(D.years[B]);
                                var M = A.length, F = A[M - 1].length, R = A[M - 1][F - 1];
                                b = R.split("-")[0], w = R.split("-")[1]
                            }
                            z.yearBox.initBox("year", D.years, b, z.monthBox);
                            var U = null;
                            if (U = e.episodeList.episodeDate ? e.episodeList.episodeDate : b + "-" + w, z.monthBox.firstDateTag = U, z.monthBox.initBox(D.years[b] || [], "month", i.pageSize, V, U), d.yearPages.show = !0, d.yearPages.beContained.push("qishuTab"), d.monthPages.show = !0, d.monthPages.beContained.push("qishuTab"), g || 34 === __INFO__.cid || 2 === __INFO__.cid) {
                                var H = __INFO__.playlist && __INFO__.playlist.playStatus, Y = 1 === n.isend;
                                H && !Y && (z.hasGenboBar = !0, z.genboBar = new o, d.genboBar.show = !0, d.genboBar.beContained.push("qishuTab"), z.genboBar.initBox(__INFO__.playlist.playStatus, !1))
                            }
                        }
                        i.TabsJSON.push(z)
                    }
                    var rt = y ? at || [] : it;
                    if (rt.length > 0) {
                        y ? c.zhoubianTab.show = !0 : c.pianduanTab.show = !0;
                        var O = {};
                        O.title = y ? "周边" : "片段", O.type = E.RELATED, O.tabClickStatStr = y ? p.zhoubianTab : p.pianduanTab, e.totalOther > i.pageSize ? (O.monthBox = new a, O.monthBox.initBox(e.totalOther, "juji", i.pageSize, rt, e.pageNo), O.hasMonthBox = !0, O.html = i.getEpisodeHtml({videos: rt}), 1 !== e.pageNo && (O.html = ""), i.TabsJSON.push(O), d.jujiPages.show = !0, y ? d.jujiPages.beContained.push("zhoubianTab") : d.jujiPages.beContained.push("pianduanTab")) : (O.html = i.getEpisodeHtml({videos: rt}), i.TabsJSON.push(O))
                    }
                    if (i.initTabs(), 11 === e.episodeList.INFO.cid) {
                        var lt = null, ct = [], dt = 0, pt = null;
                        for (var ht in u)"fragment" === ht ? lt = u[ht] : ct.push(u[ht]);
                        for (pt = ct.length; pt > dt; dt += 1) {
                            var ut = ct[dt];
                            for (var mt in ut)lt && ut[mt].fragmentId === lt[1] && (i.currentVtype = "episode")
                        }
                    }
                    i.setActiveTab(i.currentVtype), i.positionItem({vid: i.currentVid}), i.episodeInited = !0, e.playListEvent.emit("episodeSuc"), T.on(T.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    })
                }
                if ((e.isSingleVideo || !h) && L.CMSDataDone && L.recommendDataDone && L.currentVideoDataDone) {
                    c.xiangguanTab.show = !0;
                    var q = I.CMSData;
                    q && q.length > 0 && (d.CMSItem.show = !0, d.CMSItem.beContained.push("xiangguanTab")), d.recommendItem.show = !0, d.recommendItem.beContained.push("xiangguanTab"), d.currentItem.show = !0, d.currentItem.beContained.push("xiangguanTab");
                    var W = I.recommendData || [], J = e.recommendDataCache;
                    J.push(v);
                    for (var K = W.length, X = 0; K > X; X++)J.push(W[X].vid || "");
                    var Z = {};
                    Z.title = "相关", Z.type = E.XIANGGUAN, Z.tabClickStatStr = p.xiangguanTab;
                    var Q = i.getEpisodeHtml({
                        videos: q,
                        dataFrom: r.CMS
                    }), tt = i.getEpisodeHtml({
                        videos: I.currentVideoData,
                        dataFrom: r.CurrentVideo
                    }), et = i.getEpisodeHtml({videos: W, dataFrom: r.RecommendData});
                    Z.html = Q + tt + et, i.TabsJSON.push(Z), i.initTabs(), i.setActiveTab(E.XIANGGUAN), i.positionItem({vid: i.currentVid}), i.episodeInited = !0, e.playListEvent.emit("episodeSuc"), T.on(T.toBKBM, function (t) {
                        i.fnScanBuy(t)
                    })
                }
            }, doRefreshListing: function (t) {
                var e = this, i = this.episodeList, a = e.shortVideoDataStat, s = (e.shortVideoData, e.shortVideoType, t || ""), o = {
                    cid: 11,
                    vid: s,
                    type: "periodpoint,relalbum",
                    platform: "pc"
                };
                i.getVideos(o, function (t) {
                    i.zyListDoRefresh = !0, a.positiveDataDone = !1, a.pointDataDone = !1, a.relativeSerialDataDone = !1, e.prepareShortVideos(t)
                })
            }, zyListingRender: function (t) {
                var e = this, i = this.episodeList, a = i.VideoInfo, s = i.dataFrom, r = i.INFO.cid, l = i.tabExposeStatConfig, c = i.itemExposeStatConfig, d = i.clickStatConfig, p = e.shortVideoDataStat, h = e.shortVideoData, u = e.shortVideoType;
                if (11 == r && p.positiveDataDone && p.pointDataDone && p.relativeSerialDataDone) {
                    l.listingTab.show = !0;
                    var m = h.pointData;
                    if (m && m.length > 0) {
                        c.pointItem.show = !0, c.pointItem.beContained.push("listingTab"), e.zyPointVidsArr = [];
                        for (var v = m.length, f = 0; v > f; f++)e.zyPointVidsArr.push(m[f].vid || "")
                    }
                    var _ = h.relativeSerial;
                    _ && _.length > 0 && (c.xiangguanItem.show = !0, c.xiangguanItem.beContained.push("listingTab"));
                    var g = {};
                    g.title = "列表", g.type = u.LISTING, g.tabClickStatStr = d.listingTab, g.html = i.getEpisodeHtml({
                        videos: null,
                        isShowOther: !0,
                        pointObj: m,
                        relativeSerial: _,
                        dataFrom: s.FristRelease
                    });
                    var y = h.positiveData;
                    if (y && y.current_data) {
                        c.episodeItem.show = !0, c.episodeItem.beContained.push("listingTab");
                        var b = i.getEpisodeHtml({
                            videos: y.current_data,
                            dataFrom: s.ZYPositive,
                            notLazyLoad: !0,
                            extraClass: "click-refresh latest"
                        });
                        b && (g.hasZYPositive = !0, g.ZYPositive = new n, g.ZYPositive.initBox(y, b)), (y.left_data || y.right_data) && (g.hasUpDownPositive = !0)
                    }
                    var w = __INFO__.playlist && __INFO__.playlist.playStatus, T = 1 === a.isend;
                    w && !T && (g.hasGenboBar = !0, g.genboBar = new o, c.genboBar.show = !0, c.genboBar.beContained.push("listingTab"), g.genboBar.initBox(__INFO__.playlist.playStatus, !1)), t ? (i.TabsJSON.splice(0, 1, g), i.zyListDoRefresh = !1, i.initTabs(), i.setActiveTab(u.LISTING), i.positionItem({vid: i.currentVid})) : i.TabsJSON.push(g)
                }
            }, prepareCMSData: function (t) {
                var e = r, i = e.episodeList, a = e.shortVideoData, s = e.shortVideoDataStat, o = i.clickStatConfig, n = {CMSData: []};
                if (t && t.blockContent && t.blockContent.length > 0) {
                    i.prepareCommonData({
                        videos: t.blockContent,
                        videoDatas: n,
                        videoDatasProperty: "CMSData",
                        videoDataStats: s,
                        videoDataStatsProperty: "CMSDataDone",
                        clickStatStr: o.CMSItem,
                        extendObj: {clientExtraHtml: '<em class="em01">推荐</em>'}
                    });
                    var l = Math.floor(Math.random() * t.blockContent.length);
                    a.CMSData = [t.blockContent[l]]
                } else s.CMSDataDone = !0
            }, prepareShortVideos: function (t) {
                var e = r, i = e.episodeList, a = e.shortVideoData, s = e.shortVideoDataStat, o = e.shortVideoType, n = e.isMusic, l = e.isZixun, c = e.isZY, d = i.clickStatConfig;
                if (t) {
                    c && (t = t.data || {}), i.setCurrentTabsType(t.location);
                    var p = c ? t.period : t.data;
                    if (p) {
                        var h = [], u = null;
                        n || l ? (e.totalMain = t.total, e.pageNoMain = t.pageNo, h = t.data) : (u = e.analysisYearData(p), h = u.currentData.slice(0, 100));
                        var m = i.getVideoIds(h);
                        n || l || i.setCurrentTabsType(0, m), i.getPidsInfo(m.toString(), function (t) {
                            var e = {clientVideoType: o.EPISODE, clickStatStr: d.episodeItem};
                            i.setViewCount(h, t, e), n || l ? a.yearData = h : a.yearData = u, s.yearDataDone = !0
                        })
                    } else s.yearDataDone = !0;
                    if (c && t.otherlist && t.otherlist.videolist && t.otherlist.videolist.length > 0) {
                        e.totalOther = t.otherlist.cnt, e.pageNo = t.otherlist.currentpage;
                        var v = t.otherlist.videolist;
                        i.dataOther = t.otherlist.videolist, i.prepareCommonData({
                            videos: v,
                            videoDatas: a,
                            videoDatasProperty: "subVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "subVideosDataDone",
                            clientVideoType: o.ZYZHOUBIAN,
                            clickStatStr: d.subVideoItem,
                            videoType: "other"
                        }), e.isZYShowDataOther = !0
                    } else if (!c && t.dataOther && t.dataOther.length > 0) {
                        var f = e.episodeList.INFO.pid;
                        e.episodeList.INFO.cid;
                        (10010051 === f || 10010273 === f || 10010690 === f) && (t.dataOther = []), e.totalOther = t.totalOther, 0 !== t.pageNo && (e.pageNo = t.pageNo);
                        var v = t.dataOther;
                        i.dataOther = t.dataOther, i.prepareCommonData({
                            videos: v,
                            videoDatas: a,
                            videoDatasProperty: "subVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "subVideosDataDone",
                            clientVideoType: o.RELATED,
                            clickStatStr: d.subVideoItem,
                            videoType: "other"
                        })
                    } else s.subVideosDataDone = !0;
                    if (t.dataRelVideo && t.dataRelVideo.length > 0) {
                        var _ = t.dataRelVideo;
                        i.prepareCommonData({
                            videos: _,
                            videoDatas: a,
                            videoDatasProperty: "relatedVideos",
                            videoDataStats: s,
                            videoDataStatsProperty: "relatedDataDone",
                            clickStatStr: d.guanlianItem
                        })
                    } else s.relatedDataDone = !0;
                    var g = c ? t.relalbum : t.dataRelAlbum;
                    if (g && g.length > 0) {
                        for (var y = {
                            clientVideoType: o.HOLDHERE,
                            clickStatStr: d.xiangguanItem
                        }, b = 0; b < g.length; b++)$.extend(g[b], y);
                        a.relativeSerial = g, s.relativeSerialDataDone = !0
                    } else s.relativeSerialDataDone = !0;
                    if (c && t.lrc_data && t.lrc_data.current_data) {
                        var w = t.lrc_data || {}, T = w.current_data || {}, C = T.vid || "", k = [];
                        k.push(T), i.getPidsInfo(C.toString(), function (t) {
                            var e = {clientVideoType: o.LISTING, clickStatStr: d.episodeItem};
                            i.setViewCount(k, t, e)
                        }), w.current_data = T, a.positiveData = w, s.positiveDataDone = !0
                    } else s.positiveDataDone = !0;
                    if (c && t.periodpoint && t.periodpoint.length > 0) {
                        var S = t.periodpoint;
                        i.prepareCommonData({
                            videos: S,
                            videoDatas: a,
                            videoDatasProperty: "pointData",
                            videoDataStats: s,
                            videoDataStatsProperty: "pointDataDone",
                            clientVideoType: o.LISTING,
                            clickStatStr: d.pointItem
                        })
                    } else s.pointDataDone = !0;
                    t.dataMapping && t.dataMapping.length > 0 && (i.dataMapping = e.analysisDataMapping(t), i.map = e.episodeMap(t))
                }
            }, prepareRecommendData: function (t) {
                var e = r, i = e.episodeList, a = e.shortVideoData, s = e.shortVideoDataStat, o = e.shortVideoType, n = i.clickStatConfig;
                t.area = "1" == i.VideoInfo.varietyShow ? "rec_0023" : "rec_0021";
                for (var l = t && t.rec || [], c = l.length; c-- > 0;)l[c].vid || l[c].id || l.splice(c, 1);
                l.length ? (i.episodeRecommend = t, i.prepareCommonData({
                    videos: t.rec,
                    videoDatas: a,
                    videoDatasProperty: "recommendData",
                    videoDataStats: s,
                    videoDataStatsProperty: "recommendDataDone",
                    clientVideoType: o.XIANGGUAN,
                    clickStatStr: n.recommendItem,
                    videoType: "recommend"
                })) : s.recommendDataDone = !0
            }, analysisYearData: function (t) {
                var e = {years: {}, currentData: [], length: 0};
                for (var i in t)if (t.hasOwnProperty(i)) {
                    e.years[i] = [];
                    for (var a in t[i])t[i].hasOwnProperty(a) && (e.years[i].push(i + "-" + a), t[i][a] && t[i][a].length > 0 && (e.currentData = t[i][a], e.length = t[i][a].length))
                }
                return e
            }, analysisDataMapping: function (t) {
                for (var e = this, i = t.dataMapping, a = e.episodeList.dataMapping || null, s = 0, o = i.length, n = {}; o > s; s += 1)i[s].fragments.length ? n[i[s].positiveVid] = i[s].fragments : e.fragmentID = i[s].positiveVid;
                a || (a = {});
                for (var r in t.data)for (var l in t.data[r])if (null !== t.data[r][l]) {
                    var c = r + "-" + l;
                    e.episodeList.episodeDate = c, a[c] = n
                }
                return a
            }, episodeMap: function (t) {
                for (var e = {}, i = t.dataMapping, a = 0, s = i.length; s > a; a += 1)i[a].fragments.length ? e[i[a].positiveVid] = i[a].fragments : (e.fragment = [], e.fragment.push(i[a].positiveVid), e.fragment.push(i[a].vid));
                return e
            }
        };
        i.exports = r
    }, LTK["air/string/thousand"] = function (t, e, i) {
        i.exports = function (t) {
            return String(t).replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,")
        }
    }, LTK["bz/www_play/episodeList/episodeMarried"] = function (require, exports, module) {
        var times = "", marriedData = "", EpisodeListMarried = {
            init: function (t) {
                this.initDom(t), this.initBox(), Stats.sendAction({acode: "41", ap: "ch=www&pg=play_v1&bk=hudongTab"})
            }, initDom: function (t) {
                this.episodeList = t, this.playListEvent = require("bz/www_play/events"), this.data = {
                    title: "互动",
                    type: "married",
                    html: "",
                    tabClickStatStr: "ch=www&pg=play_v1&bk=hudongTab&link=tab"
                }
            }, initData: function (t) {
                var e = this, i = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/4288.json?t=" + Math.random(), a = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/4289.json?t=" + Math.random();
                e.dataId = "", e.dateForPlay = null, $.getJSON(i, function (i) {
                    for (var s = [], o = 0; o < i.blockContent.length; o++)i.blockContent[o].content == __INFO__.vid && (s = i.blockContent[o].title.split(","), e.dateForPlay = i.blockContent[o].position);
                    $.getJSON(a, function (i) {
                        for (var a = i.blockContent.length, o = {}, n = {}, r = "", l = i.blockContent.slice(); a > 0;) {
                            a--;
                            var c = l.pop();
                            c && (o[c.content] = c)
                        }
                        r += '<div class="iteract-wrap" id="iteractWarp2" style="display:none;"><div class="iteract-head"><h3 title="返回继续投票" style="overflow: hidden">全民帮安又琪选老公<a class="backVote">我还要投>></a></h3><p>猜猜看，谁会是琪琪的白马王子呢？</p></div><ul class="iteract-tabs"><li class="j-tab active"><a href="javascript:;">支持排行</a></li></ul><div class="iteract-body"><div class="iteract-list cur">';
                        for (var d = '<div class="iteract-wrap" id="iteractWarp1" data-statectn="sing" data-itemhldr="a" ><div class="iteract-head"><h3>全民帮安又琪选老公</h3><p>猜猜看，谁会是琪琪的白马王子呢？</p></div>', p = 0; p < s.length; p++)e.dataId += e.dateForPlay + "_" + o[s[p]].id + ",", d += '<dl class="dl_iteract"><dd class="d_img"><a href="javascript:;"><img src=' + o[s[p]].pic1 + '></a><a class="a_vote" data-id=' + e.dateForPlay + "_" + o[s[p]].id + ' href="javascript:;"><i class="i-love"></i>投票</a></dd><dt><span>' + o[s[p]].title + "</span><b>/</b><em>" + o[s[p]].subTitle + "</em></dt><dd>", d += "<dd>" + o[s[p]].shorDesc + "</dd>", d += "</dd></dl>", r += '<dl class="L0' + (p + 1) + '"><dt><em>' + (parseInt(p) + 1) + '</em><i class="triangle"></i></dt><dd class="d_img"><img src="" class="j_d_img"></dd><dd class="d_singer"></dd><dd class="d_num"></dd></dl>', n[e.dateForPlay + "_" + o[s[p]].id] = o[s[p]].pic1, n[e.dateForPlay + "_" + o[s[p]].id + .1] = o[s[p]].title;
                        d += '</div><div class="shrink_arr open_arr"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div>', r += "</div></div>", d += r, d += '<div class="iteract-share" style="display: none;"><p>你等着，我叫人来捧你！</p><div class="bdsharebuttonbox ico_share bdshare-button-style0-32" data-tag="share_1" data-bd-bind="1437633188414"><a href="javascript:;" class="ico_qq bds_sqq" data-cmd="sqq" title="分享到QQ好友" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=sqq"></a><a href="javascript:;" class="ico_wb bds_tsina" data-cmd="tsina" title="分享到新浪微博" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=sina"></a><a href="javascript:;" class="ico_qzone bds_qzone" data-cmd="qzone" title="分享到QQ空间" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=qzone"></a><a href="javascript:;" class="ico_ren bds_renren" data-cmd="renren" title="分享到人人网" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=renren"></a><a href="javascript:;" class="ico_tqq bds_tqq" data-cmd="tqq" title="分享到腾讯微博" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=tqq"></a></div><p>已有<span id="allJoinNum"></span>人参与</p></div></div>', e.data.html += d, e.secendObj = n, t && t(), e.initEvent()
                    })
                })
            }, initBox: function () {
                var t = this, e = null;
                t.playListEvent.on("episodeSuc", function () {
                    t.initData(function () {
                        t.playListEvent.emit("episodeAddTab", t.data), t.playListEvent.emit("episodeActiveTab", t.data.type), t.getHeight = $("#iteractWarp1").height(), t._initText(), t._initBaidu()
                    })
                }), t.playListEvent.on(t.playListEvent.PLAYER_VIDEO_PLAY, function () {
                    e && clearTimeout(e), e = setTimeout(function () {
                        t.playListEvent.emit("episodeActiveTab", "episode")
                    }, 15e3)
                })
            }, initEvent: function () {
                var t = ($('.cur[data-type="married"]'), this), e = $("#iteractWarp1"), i = $("#iteractWarp2"), a = null, s = null, o = function (t) {
                    t && t.stopPropagation ? t.stopPropagation() : window.event.cancelBubble = !0
                }, n = function () {
                    var e = t.dataId.substring(0, t.dataId.length - 1), o = t.dataId.split(",");
                    $.ajax({
                        type: "GET",
                        url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/num?id=" + e,
                        dataType: "jsonp",
                        jsonp: "callback",
                        success: function (e) {
                            if (200 == e.code) {
                                $(".juji_cntBox .juji_cnt").css("top", 0);
                                for (var n = 0, r = [], l = t.episodeList.TabsJSON, c = 0; c < $(".d_num").length; c++)r.push({
                                    id: o[c],
                                    num: e.data[o[c]]
                                }), n += e.data[o[c]];
                                for (var r = t.jsonSort(r, "num"), d = 0; d < $(".d_num").length; d++)$(".j_d_img").eq(d).attr("src", t.secendObj[r[d].id]), $(".d_singer").eq(d).text(t.secendObj[r[d].id + .1]), $(".d_num").eq(d).text(r[d].num);
                                $("#iteractWarp1").hide(), $(".iteract-share").show();
                                for (var p in l)"married" === l[p].type && (s = $(".shrink_arr"), a = i, a.show().append(s), l[p].forceDom = a, t.episodeList.setActiveTab(t.data.type, "list", !0))
                            }
                        }
                    })
                }, r = function () {
                    $.ajax({
                        type: "get",
                        url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/rank?id=" + t.dateForPlay + "&n=100",
                        dataType: "jsonp",
                        jsonp: "callback",
                        success: function (t) {
                            if (200 === t.code) {
                                for (var e = 0, i = t.data, a = 0, s = i.length; s > a; a += 1)e += parseInt(i[a].num, 10);
                                $("#allJoinNum").html(e)
                            }
                        }
                    })
                };
                $(document).on("click", ".d_img", function () {
                    marriedData = $(this).find(".a_vote").attr("data-id");
                    var e = $(this).find(".a_vote");
                    e.find("i").hasClass("i-love1") ? e.find("i").removeClass("i-love1") : t.sign(function () {
                        $.ajax({
                            type: "GET",
                            url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/incr?id=" + marriedData + "&sign=" + times,
                            dataType: "jsonp",
                            jsonp: "callback",
                            success: function (i) {
                                200 == i.code && (e.find("i").addClass("i-love1"), $("#iteractWarp2").css("height", t.getHeight), n(), r())
                            }
                        })
                    })
                }), $(document).on("click", "#iteractWarp2 .backVote", function (i) {
                    var n = t.episodeList.TabsJSON;
                    for (var r in n)"married" === n[r].type && (s = $(".shrink_arr"), a = e, a.show().append(s), n[r].forceDom = a, $(".show_rank").addClass("no_rank"), t.episodeList.setActiveTab(t.data.type, "list", !0));
                    o(i), $(".i-love").removeClass(".i-love1")
                })
            }, _initText: function () {
                var t = __INFO__.video || {};
                this.pic = t && t.share && t.share.pic || "", this.shareText = "我在乐视网看了" + (t && t.title || __INFO__.title || document.title) + " - 在线观看 - 乐视网 ，推荐！" + document.location.href + " "
            }, _initBaidu: function () {
                var _this = this;
                with (window._bd_share_config = {
                    common: {
                        onBeforeClick: function (t, e) {
                            return e.bdText = _this.shareText, e.bdUrl = document.location.href + "?ref=mmgw", e.bdPic = _this.pic, e
                        }, bdText: "", bdDesc: "", bdUrl: "", bdPic: ""
                    }, share: [{bdSize: 32}]
                }, document)0[(getElementsByTagName("head")[0] || body).appendChild(createElement("script")).src = "http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=" + ~(-new Date / 36e5)]
            }, sign: function (t) {
                $.ajax({
                    type: "GET",
                    url: "http://" + LETV.CONSTANT.host.API_LETV_COM + "/time",
                    dataType: "jsonp",
                    jsonp: "callback",
                    success: function (e) {
                        var i = e.stime, a = parseInt(82261437425 * Math.random() + 13527904682), s = i, o = parseInt(6 * Math.random() + 2);
                        s *= o, s = s.toString(), o = o.toString(), a = a.toString(), s += o;
                        for (var n = s.length, r = "", l = 1, c = 0; n > c; c++)c % l == 0 && (r += a.charAt(c / l)), r += s.charAt(c);
                        times = r, t && t()
                    }
                })
            }, jsonSort: function (t, e) {
                for (var i = 1, a = t.length; a > i; i++) {
                    for (var s = t[i], o = s[e], n = i - 1; n >= 0 && t[n][e] < o;)t[n + 1] = t[n], n -= 1;
                    t[n + 1] = s
                }
                return t
            }
        };
        module.exports = EpisodeListMarried
    }, LTK["bz/com/clipStrLength"] = function (t, e, i) {
        var a = function (t, e, i) {
            if (!t || !e)return "";
            for (var a = 0, s = 0, o = t.length; o > s; s += 1)if (a += t.charCodeAt(s) > 255 ? 2 : 1, a > e)return t.charCodeAt(s) <= 255 ? t.substring(0, s) + (i || "") : t.substring(0, s) + (i || "");
            return t
        };
        i.exports = a
    }, LTK["comp/share"] = function (t, e, i) {
        function a() {
            function t(t) {
                function e(t) {
                    function e() {
                        return !!document.createElement("canvas").getContext
                    }

                    function i(t) {
                        var e, i, a, s;
                        for (e = "", a = t.length, i = 0; a > i; i++)s = t.charCodeAt(i), s >= 1 && 127 >= s ? e += t.charAt(i) : s > 2047 ? (e += String.fromCharCode(224 | s >> 12 & 15), e += String.fromCharCode(128 | s >> 6 & 63), e += String.fromCharCode(128 | s >> 0 & 63)) : (e += String.fromCharCode(192 | s >> 6 & 31), e += String.fromCharCode(128 | s >> 0 & 63));
                        return e
                    }

                    var a = $('<div class="qrcode"></div>');
                    return a.qrcode({
                        render: e() ? "canvas" : "table",
                        width: t.width || 150,
                        height: t.height || 150,
                        text: i(t.text) || "no"
                    }), a
                }

                function i(t, i) {
                    var a;
                    a = t ? "[data-tag=" + t + "] " + p.listenItem : p.listenItem, h.on("click", a, function (t) {
                        var a = $(this).attr("share-type");
                        if ("weixin" == a) {
                            $('<div class="qrcode"></div>');
                            i($(this), p.shareContent, e)
                        } else {
                            var s = i($(this), p.shareContent), o = $.extend(p.params[a], s);
                            $.map(o, function (t, e) {
                                t || delete o[e]
                            });
                            var n = p.kmap[a];
                            n && $.map(n, function (t, e) {
                                var i = o[t], a = o[e];
                                i && a ? (o[t] = a, o[e] = i) : (a && (o[t] = a), delete o[e])
                            });
                            var r = p.shareUrl[a] + "?" + $.param(o);
                            "A" === this.tagName ? (this.target = "_blank", this.href = r) : (left = (screen.width - 900) / 2, top = (screen.height - 760) / 2, window.open(r, "", "width=900, height=760, top=" + top + ", left=" + left + ", toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=yes, status=no"))
                        }
                    })
                }

                function a(t) {
                    i(null, t.onBeforeClick)
                }

                function s(t) {
                    i(t.delegateEl, t.onBeforeClick)
                }

                function o(t) {
                    $.each(t, function (t, e) {
                        e.delegateEl && s(e)
                    })
                }

                function n(t) {
                    var e;
                    e = t ? "[data-tag=" + t + "] " + p.listenItem : p.listenItem, h.off("click", e)
                }

                function r(t) {
                    $.each(t, function (t, e) {
                        n(e)
                    })
                }

                function l(t) {
                    n(t)
                }

                function c() {
                    n()
                }

                var d = {
                    listenItem: "[share-type]",
                    shareContent: {
                        title: "д��Ϊ�ı���",
                        url: "http://www.so.com",
                        pic: "http://p8.qhimg.com/t018046aa17e3b8d53b.png",
                        desc: "д�ڱ�������"
                    },
                    shareUrl: {
                        qq: "http://connect.qq.com/widget/shareqq/index.html",
                        sina: "http://service.weibo.com/share/share.php",
                        qweibo: "http://share.v.t.qq.com/index.php",
                        qzone: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey",
                        renren: "http://widget.renren.com/dialog/share"
                    },
                    params: {
                        sina: {appkey: "1343713053", serchPic: !0},
                        qzone: {},
                        qq: {site: "letvcdn"},
                        qweibo: {c: "share", a: "index", appkey: "801cf76d3cfc44ada52ec13114e84a96"}
                    },
                    kmap: {
                        qzone: {pic: "pics", title: "desc"},
                        reren: {url: "resourceUrl", desc: "description"},
                        qq: {pic: "pics"}
                    }
                }, p = $.extend({}, d, p), h = $(document.body);
                return {
                    add: function (t) {
                        return $.isPlainObject(t) && !$.isEmptyObject(t) && (t.delegateEl && t.onBeforeClick && s(t), !t.delegateEl && t.onBeforeClick && a(t)), $.isArray(t) && ($.grep(t, function (t) {
                            return t.delegateEl && t.onBeforeClick
                        }), o(t)), this
                    }, remove: function (t) {
                        return t || c(), "string" == typeof t && l(t), $.isArray(t) && ($.grep(t, function (t) {
                            return !!t
                        }), r(t)), this
                    }
                }
            }

            var e = $.Deferred(), i = "http://js.letvcdn.com/lc01_iscms/201510/15/12/57/qrcode.js";
            return $.getScript(i).done(function () {
                e.resolve(t)
            }), e.promise()
        }

        i.exports = a
    }, LTK["bz/www_play/episodeList/episodeInteraction"] = function (t, e, i) {
        var a = {
            _vars: {
                _orderCache: [],
                hasAdded: !1,
                episodeList: null,
                dataCache: null,
                userClicked: !1,
                shareCount: null,
                voteIDCache: [],
                urls: {
                    videoInfo: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/video?vid=",
                    increase: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/incr?id=",
                    sign: "http://" + LETV.CONSTANT.host.API_LETV_COM + "/time",
                    num: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/num?id=",
                    rank: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/rank?id="
                }
            }, tpl: {
                arrowTPL: function () {
                    return '<div class="shrink_arr open_arr"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div>'
                }, voteShowTab: function (t) {
                    for (var e = a.clipLen, i = t[0].options, s = t[0].vote_id, o = '<div class="iteract-wrap" id="j_iteractShow" data-statectn="" data-itemhldr="a"><div class="iteract-head"><h3>' + e(t[0].title, 28) + "</h3><p>" + t[0].subtitle + "</p></div>", n = 0, r = i.length; r > n; n += 1) {
                        var l = i[n].img1 ? i[n].img1 : i[n].img2 ? i[n].img2 : i[n].img3;
                        if (a._vars.voteIDCache.push(s + "_" + i[n].id), o += '<dl class="dl_iteract"><dd class="d_img"><a href="javascript:;"><img src="' + l + '"/></a><a class="a_vote" data-id="' + s + "_" + i[n].id + '" href="javascript:;"><i class="i-love"></i>投票</a></dd><dt><span>' + i[n].title + "</span>", i[n].subtitle && (o += '<b>/</b><em title="' + i[n].subtitle + '">' + e(i[n].subtitle, 10, "...")), o += '</em></dt><dd class="dd_detail">' + i[n].remark + "</dd><dd>", i[n].production)for (var c = 0, d = i[n].production.length; d > c; c += 1)o += '<a target="_blank" href="' + i[n].production[c].url + '">' + i[n].production[c].title + "</a>";
                        o += "</dd></dl>"
                    }
                    return o += "</div>"
                }, voteResultTab: function (t, e) {
                    for (var i = a.clipLen, s = t[0].options, o = '<div class="iteract-wrap" id="j_iteractResult" style=""><div class="iteract-head"><h3 title="返回继续投票" style="overflow: hidden; ">' + i(t[0].title, 28) + '<a class="j_backVote">我还要投>></a></h3><p>' + t[0].subtitle + '</p></div><ul class="iteract-tabs"><li class="j_tab active"><a href="javascript:;">本期排行</a></li></ul><div class="iteract-body"><div class="iteract-list cur">', n = 0, r = e.length; r > n; n += 1)for (var l = 0, c = s.length; c > l; l += 1)if (e[n].id === s[l].option_id) {
                        var d = s[l].img1 ? s[l].img1 : s[l].img2 ? s[l].img2 : s[l].img3;
                        o += '<dl class="L0' + (n + 1) + '"><dt><em>' + (parseInt(n, 10) + 1) + '</em><i class="triangle"></i></dt><dd class="d_img"><img src="' + d + '" class="j_d_img"></dd><dd class="d_singer">' + s[l].title + '</dd><dd class="d_num">' + e[n].result + "</dd></dl>"
                    }
                    return o += '<div class="iteract-share"><p>你等着，我叫人来捧你！</p><div class="ico_share"></div><div class="bdsharebuttonbox ico_share bdshare-button-style0-32" data-tag="share_1" data-bd-bind="1437633188414"><a href="javascript:;" class="ico_qq bds_sqq" share-type="qq" title="分享到QQ好友" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=sqq"></a><a href="javascript:;" class="ico_wb bds_tsina" share-type="sina"  title="分享到新浪微博" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=sina"></a><a href="javascript:;" class="ico_qzone bds_qzone" share-type="qzone" title="分享到QQ空间" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=qzone"></a><a href="javascript:;" class="ico_ren bds_renren" share-type="renren" title="分享到人人网" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=renren"></a><a href="javascript:;" class="ico_tqq bds_tqq" share-type="qweibo" title="分享到腾讯微博" k-name="send-click-stat" data-click-stat="ch=www&amp;pg=play_v1&amp;bk=shareBox&amp;link=tqq"></a></div><p>已有<span id="j_joinTotal"></span>人参与</p></div></div>'
                }
            }, composeTPL: function (t) {
                var e = this;
                return e.tpl.voteResultTab(e._vars.dataCache, t) + e.tpl.arrowTPL()
            }, asyncRequest: function (t) {
                var e = {
                    url: t.url,
                    type: t.type,
                    data: t.data ? t.data : null,
                    dataType: t.dataType,
                    jsonp: t.jsonp ? t.jsonp : null,
                    success: function (e) {
                        "function" == typeof t.callback && t.callback(e)
                    }
                };
                $.ajax(e)
            }, jsonByOrder: function (t) {
                var e = [];
                for (var i in t)e.push({id: i, result: t[i]});
                return e.sort(function (t, e) {
                    return e.result - t.result
                }), e
            }, operateClass: function (t, e, i) {
                t[i ? "addClass" : "removeClass"](e)
            }, getSign: function (t) {
                var e = this, i = {
                    url: e._vars.urls.sign,
                    type: "get",
                    dataType: "jsonp",
                    jsonp: "callback",
                    callback: function (e) {
                        var i = e && e.stime, a = parseInt(82261437425 * Math.random() + 13527904682), s = parseInt(6 * Math.random() + 2);
                        i *= s, i = i.toString(), s = s.toString(), a = a.toString(), i += s;
                        for (var o = i.length, n = "", r = 1, l = 0; o > l; l++)l % r == 0 && (n += a.charAt(l / r)), n += i.charAt(l);
                        "function" == typeof t && t(n)
                    }
                };
                e.asyncRequest(i)
            }, initDom: function () {
                var e = this;
                this.clipLen = t("bz/com/clipStrLength"), this.playListEvent = t("bz/www_play/events"), this.getShare = t("comp/share"), this.data = {
                    title: "互动",
                    type: "voteInteraction",
                    html: "",
                    tabClickStatStr: "ch=www&pg=play_v1&bk=hudong&link=tab"
                }, this.voteShowHTML = e.tpl.voteShowTab(e._vars.dataCache) + e.tpl.arrowTPL(), this.data.html = this.voteShowHTML, e._setShare()
            }, initEvent: function () {
                var t = this;
                t.playListEvent.on(t.playListEvent.PLAYER_VIDEO_PLAY, function () {
                    !t._vars.hasAdded && t._vars.episodeList.episodeInited && (t._addTab(), t._vars.hasAdded = !0)
                }), t.playListEvent.on(t.playListEvent.PLAY_THIS, function (e) {
                    __INFO__.vid !== e && (t._removeTab(), t._vars.hasAdded = !1)
                }), t.playListEvent.on(t.playListEvent.PLAYER_PLAY_NEXT, function () {
                    t._removeTab(), t._vars.hasAdded = !1
                }), t.playListEvent.on(t.playListEvent.PLAYER_VIDEO_COMPLETE, function () {
                    t._removeTab(), t._vars.hasAdded = !1
                }), $(".juji_tit").on("click", "li", function () {
                    $("#j_iteractResult").length && (t.voteResultHTML = $(".juji_cnt").html(), t._setTabState(t.voteResultHTML)), t.changeTimer && clearTimeout(t.changeTimer)
                })
            }, _handleVote: function (t) {
                var e = this, i = t.find(".a_vote"), a = i.attr("data-id"), s = i.find("i");
                s.hasClass("i-love1") ? e.operateClass(s, "i-love1", !1) : e.getSign(function (t) {
                    var i = {
                        url: e._vars.urls.increase + a + "&sign=" + t,
                        type: "get",
                        dataType: "jsonp",
                        jsonp: "callback",
                        callback: function (t) {
                            200 === t.code && (e._setDragBar(), e._ajaxRequestVoteNum())
                        }
                    };
                    e.asyncRequest(i)
                })
            }, _addTab: function () {
                var t = this, e = $(document);
                $(".juji_tit li");
                t.playListEvent.emit("episodeAddTab", t.data), t.playListEvent.emit("episodeActiveTab", t.data.type), e.on("click", ".d_img", function () {
                    var e = $(this);
                    t._handleVote(e)
                }), e.on("click", "#j_iteractResult .j_backVote", function (e) {
                    t._backVoteTab(e)
                }), t._backEpisode()
            }, _ajaxRequestVoteNum: function () {
                var t = this, e = t._vars.voteIDCache, i = e.join(","), a = {
                    type: "get",
                    url: t._vars.urls.num + i,
                    dataType: "jsonp",
                    jsonp: "callback",
                    callback: function (e) {
                        if (200 === e.code && e.data) {
                            $(".juji_cntBox .juji_cnt").css("top", 0);
                            var i = t._vars._orderCache = t.jsonByOrder(e.data);
                            t._setTabState(t.composeTPL(i)), t._ajaxRequestVoteTotal()
                        }
                    }
                };
                t.asyncRequest(a)
            }, _ajaxRequestVoteTotal: function () {
                var t = this, e = {
                    type: "get",
                    url: t._vars.urls.rank + t._vars.dataCache[0].vote_id + "&n=100",
                    dataType: "jsonp",
                    jsonp: "callback",
                    callback: function (e) {
                        if (200 === e.code) {
                            for (var i = 0, a = e.data, s = 0, o = a.length; o > s; s += 1)i += parseInt(a[s].num, 10);
                            t._vars.shareCount = i, $("#j_joinTotal").html(t._vars.shareCount)
                        }
                    }
                };
                t.asyncRequest(e)
            }, _backVoteTab: function (t) {
                var e = this;
                e.operateClass($(".i-love"), "i-love1", !1), e._setTabState(e.voteShowHTML), e._setDragBar()
            }, _backEpisode: function () {
                var t = this;
                t.changeTimer && clearTimeout(t.changeTimer);
                var e = 11 === __INFO__.cid ? "listing" : "episode";
                t.changeTimer = setTimeout(function () {
                    t.playListEvent.emit("episodeActiveTab", e)
                }, 15e3)
            }, _removeTab: function () {
                var t = this;
                t.playListEvent.emit("episodeRemoveTab", t.data.type)
            }, _setTabState: function (t) {
                var e = this, i = e._vars.episodeList.TabsJSON;
                for (var a in i)"voteInteraction" === i[a].type && (i[a].html = t, e.operateClass($(".show_rank"), "no_rank", !0), e._vars.episodeList.setActiveTab(e.data.type, "list", !0))
            }, _setDragBar: function () {
                var t = this;
                t.playListEvent.emit("dragInited")
            }, _setShare: function () {
                var t = this, e = __INFO__.video || {};
                t.getShare().then(function (i) {
                    var a = i();
                    a.add({
                        onBeforeClick: function (i, a, s) {
                            return a.url = location.href, a.pic = e && e.share && e.share.pic || "", a.desc = a.title = "我在乐视网看了" + (e && e.title || __INFO__.title || document.title) + "，一起来讨论" + (t._vars.dataCache && t._vars.dataCache[0].title || "") + "吧！", a
                        }
                    })
                })
            }, run: function (t, e, i) {
                var a = this, s = a._vars, o = {
                    type: "get",
                    url: s.urls.videoInfo + e + "&pid=" + i + "&type=4",
                    dataType: "jsonp",
                    jsonp: "callback",
                    callback: function (t) {
                        if ("200" === t.code && t.data.length) {
                            if (s.dataCache = t.data, 0 !== +s.dataCache[0].pid && +s.dataCache[0].pid !== i)return !1;
                            if (0 !== +s.dataCache[0].vid && +s.dataCache[0].vid !== e)return !1;
                            if (0 === +s.dataCache[0].pid && 0 === +s.dataCache[0].vid)return !1;
                            a.initDom(), a.initEvent()
                        }
                    }
                };
                a._vars.episodeList = t, a.asyncRequest(o)
            }
        };
        i.exports = a
    }, LTK["bz/www_play/episodeList/episodeTryLook_tv"] = function (t, e, i) {
        "use strict";
        var a = t("bz/www_play/events"), s = Spirit.Event, o = __INFO__.video || {}, n = Spirit.UserValidate, r = {
            init: function () {
                this.initDom(), this.initEvent(), this.initLogEvent()
            }, initDom: function () {
                __INFO__.cid;
                this.currentVid = null, this.baseURL = "http://" + LETV.CONSTANT.host.YUANXIAN_LETV_COM + "/letv/getService.ldo?callback=?", this.pressionParm = {
                    from: "player",
                    end: "5",
                    pid: o.pid
                }, this.vipInfoParm = {from: "center"}, this.vipForbiddenURL = "http://d.api.m.le.com/api/authenticateService?callback=?", this.forbiddenParm = {
                    type: "validate",
                    ctype: "1",
                    cid: o.pid,
                    terminal: "141001",
                    storepath: "afdfajdfad",
                    userId: "",
                    country: "86",
                    deviceId: Stats.getCookie("tj_lc"),
                    businessId: "10003"
                }, this.UA = navigator.userAgent.toLowerCase(), this.isSafari = /safari/i.test(this.UA) && !/chrome/i.test(this.UA), this.isMac = /macintosh/.test(this.UA), this.isH5 = $.browser.iPad || this.isMac && this.isSafari, this.shouldShowTryLook = !1, this.shouldShowVipTab = !1, this.showVipTextTip = !1, this.isForbidden = !1, this.tryLookHtml = {
                    tabHtml: "",
                    fullScreenHTML: "",
                    fullScreenMiniHTML: ""
                }, this.fullScreenURL = "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/tobuy/regular?fronturl=#type=142", this.vipTabURL = "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/tobuy/regular?fronturl=#type=142", this.reqSpecialURL = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/5406.json", this.$eventContainer = $(".column_width"), this.$flashBox = $("#fla_box"), this.tryLookData = {
                    vipInfoData: null,
                    pressionData: null
                }, this.tryLookDataStaus = {
                    vipInfoDataDone: !1,
                    pressionDataDone: !1
                }, this.recommendData = [], this.logEventAdded = !1, this.codeExposed = !1, this.erCodeURL = null, this.reportField = {
                    exposureStat: {
                        openVIPTab: "ch=tv&pg=pay&bk=openVIPTab&link=show",
                        erCodeVIP: "ch=tv&pg=pay&bk=erCodeVIP&link=show"
                    },
                    clickStat: {
                        openVIPScreen: "ch=tv&pg=pay&bk=openVIPScreen&link=click",
                        openVIPTab: "ch=tv&pg=pay&bk=openVIPTab&link=click",
                        loginField: "ch=tv&pg=pay&bk=loginField&link=click",
                        operationPos: "ch=tv&pg=pay&bk=yunying&link=click"
                    }
                }
            }, initEvent: function () {
                var t = this;
                a.on(a.PLAYER_VIDEO_PLAY, $.proxy(this.pauseControl, this)), a.on(a.PLAY_VIDEO, $.proxy(this.removeFullScreenTryLook, this)), a.on(a.PLAY_VIDEO, $.proxy(this.switchForbiddenPop, this)), a.on(a.DISPLAYTRYLOOK, $.proxy(this.episodeDisplayTryLook, this)), a.on(a.PLAYER_RESIZE, $.proxy(this.responseVideoResize, this)), a.on("EpisodeTryLookInit", $.proxy(this.initData, this)), a.on("RenderLogicStart", $.proxy(this.renderLogic, this)), a.on("showFullScreenTryLook", $.proxy(this.showFullScreenTryLook, this)), a.on("hideFullScreenTryLook", $.proxy(this.hideFullScreenTryLook, this)), a.on("showBigForbiddenPop", $.proxy(this.showForbiddenPop, this)), a.on("showSmallForbiddenPop", $.proxy(this.showSmallForbiddenPop, this)), $(".le_jujibox").on("click", ".j_jujiGrid", function () {
                    t.currentVid = $(this).attr("data-vid")
                }), $("#fla_box_con").on("click", "#yuanxian_logoin", function () {
                    Spirit.userLogin.openLetvLogin(), t.dataReport(0, t.reportField.clickStat.loginField)
                })
            }, initData: function () {
                var t = this, e = this.pressionParm, i = this.forbiddenParm, s = this.vipForbiddenURL;
                if (n.getUserInfo()) {
                    var o = n.getUserInfo();
                    e.ssouid = o.ssouid, e.uname = o.username, i.userId = o.ssouid
                } else delete e.uname, delete e.ssouid, delete i.userId;
                $.getJSON(s, i, function (e) {
                    var i = e && e.data;
                    i && 9999 == i.code ? (t.isForbidden = !0, t.showForbiddenPop(), t.shouldShowVipTab = !1, t.showVipTextTip = !1, a.emit("episodeListRenderStart", !0)) : (t.isForbidden = !1, t.removeForbiddenPop(), t.pressionLogic())
                })
            }, pressionLogic: function () {
                var t = this, e = this.pressionParm, i = this.vipInfoParm, s = this.baseURL;
                if ($.getJSON(s, e, function (e) {
                        t.tryLookDataStaus.pressionDataDone = !0, t.orderUrlCallback(e), t.tryLookData.pressionData = e || {}, a.emit("RenderLogicStart");
                        var i = t.tryLookHtml;
                        $.getJSON(t.reqSpecialURL, function (e) {
                            t.handleData(e), i.fullScreenHTML = t.getFullScreenTpl(), i.fullScreenMiniHTML = t.getFullScreenTpl(!0)
                        })
                    }), n.getUserInfo()) {
                    var o = n.getUserInfo();
                    i.userid = o.uid, $.getJSON(s, i, function (e) {
                        t.tryLookDataStaus.vipInfoDataDone = !0, t.tryLookData.vipInfoData = e || {}, a.emit("RenderLogicStart")
                    })
                } else t.tryLookDataStaus.vipInfoDataDone = !0, t.tryLookData.vipInfoData = {}
            }, renderLogic: function () {
                var t = this, e = t.tryLookData, i = t.tryLookDataStaus, s = e.vipInfoData || {}, n = e.pressionData || {}, r = t.tryLookHtml;
                if (i.pressionDataDone && i.vipInfoDataDone) {
                    var l = Math.ceil((parseInt(s.endtime) - (new Date).getTime()) / 864e5);
                    "0" == n.status || "0" == n.vip ? (t.shouldShowTryLook = !0, t.shouldShowVipTab = !0, "3" == s.isMovievip && l >= -15 && 0 >= l ? r.tabHtml = t.getTabTpl("haveOver") : r.tabHtml = t.getTabTpl("kaiTongVip"), t.requestERCodeIMG()) : (t.shouldShowTryLook = !1, 15 >= l && l > 0 ? (t.shouldShowVipTab = !0, r.tabHtml = t.getTabTpl("willOver", l), t.requestERCodeIMG()) : (t.shouldShowVipTab = !1, r.tabHtml = ""), o.albumPayPlatform && o.albumPayPlatform.hasOwnProperty("141001") && t.removeMaskForVIP()), a.emit("episodeListRenderStart", !0), t.playLogic(), t.dataReport("19", t.reportField.exposureStat.openVIPTab), t.exposeCode(), i.pressionDataDone = !1, i.vipInfoDataDone = !1
                }
            }, playLogic: function () {
                var t = this;
                o.albumPayPlatform && o.albumPayPlatform.hasOwnProperty("141001") && (a.on(a.PLAYER_VIDEO_COMPLETE, function (e) {
                    t.currentVid = e.nextVid
                }), a.on(a.PLAYER_PLAY_NEXT, function (e) {
                    t.currentVid = e.nextvid
                }), t.currentVid ? t.currentVid : t.currentVid = __INFO__.vid), t.isH5 ? a.emit(a.RELOAD, t.currentVid) : a.emit(a.PLAY_THIS, t.currentVid, "episode")
            }, initLogEvent: function () {
                var t = this;
                t.logEventAdded || (s.addEvent("loginSuccess", function () {
                    t.removeLoginTip(), a.emit("EpisodeTryLookInit")
                }), s.addEvent("logoutSuccess", function () {
                    t.showLoginTip(), a.emit("EpisodeTryLookInit")
                }), t.logEventAdded = !0)
            }, showForbiddenPop: function (t, e, i) {
                var s = __INFO__ && __INFO__.video && __INFO__.video.trylook;
                if (this.isForbidden && 10 === s) {
                    var o = this.$flashBox, n = i ? "small_play" : "", r = '<div class="le_play_new_pop j_le_forbid_pop ' + n + '"><div class="le_play_account j_le_play_account"><p class="new_account_01">检测到你的账号有异常，会员服务已冻结</p><p class="new_account_02">如有问题请联系客服：400-030-0104</p></div></div>';
                    o.find(".j_le_forbid_pop").remove(), o.prepend(r);
                    var l = e || o.height(), c = o.find(".j_le_play_account"), d = (l - c.height()) / 2;
                    c.css("top", d), a.emit(a.PLAYER_PAUSE), $("#www_player_1").css("visibility", "hidden")
                }
            }, showSmallForbiddenPop: function () {
                $("#fla_box").css("overflow", "hidden"), this.showForbiddenPop("400", "225", !0)
            }, removeForbiddenPop: function () {
                var t = this.$flashBox;
                t.find(".j_le_forbid_pop").remove(), $("#www_player_1").css("visibility", "visible")
            }, switchForbiddenPop: function () {
                var t = __INFO__ && __INFO__.video && __INFO__.video.trylook;
                this.isForbidden && 10 === t ? this.showForbiddenPop() : this.removeForbiddenPop()
            }, pauseControl: function () {
                var t = __INFO__ && __INFO__.video && __INFO__.video.trylook;
                this.isForbidden && 10 === t && (a.emit(a.PLAYER_PAUSE), $("#www_player_1").css("visibility", "hidden"))
            }, episodeDisplayTryLook: function () {
                var t = this;
                t.showFullScreenTryLook(), t.dataReport("41", "paybg")
            }, showFullScreenTryLook: function (t, e) {
                if (!this.isForbidden) {
                    var i = this.$flashBox, a = t || i.width(), s = e || i.height(), o = $(this.tryLookHtml.fullScreenHTML), n = $(this.tryLookHtml.fullScreenMiniHTML);
                    400 === a && 225 === s && (o.hide(), n.hide()), i.find(".j_le_play_pop").remove(), 964 >= a ? i.prepend(n) : i.prepend(o);
                    var r = i.find(".j_fullScreen"), l = (s - r.height()) / 2;
                    r.css("top", l)
                }
            }, hideFullScreenTryLook: function () {
                this.$flashBox.find(".j_le_play_pop").hide()
            }, removeFullScreenTryLook: function () {
                var t = __INFO__ && __INFO__.video && __INFO__.video.trylook;
                return 10 === t ? !1 : void this.$flashBox.find(".j_le_play_pop").remove()
            }, removeMaskForVIP: function () {
                this.$flashBox.find(".j_le_play_pop").remove()
            }, responseVideoResize: function (t, e) {
                var i = this.$flashBox.find(".j_le_play_pop");
                i.length > 0 && "none" !== i.css("display") && this.showFullScreenTryLook(t, e);
                var a = this.$flashBox.find(".j_le_forbid_pop");
                a.length > 0 && "none" !== a.css("display") && ($("#fla_box_p").hasClass("player_min") ? this.showSmallForbiddenPop() : this.showForbiddenPop(t, e))
            }, getFullScreenTpl: function (t) {
                for (var e = this, i = "", a = e.fullScreenURL, s = t ? " w640" : " w930", o = e.reportField.clickStat.operationPos || "", r = e.fullScreenRecommendLinks || "", l = e.recommendData, c = "", d = 0; 6 > d; d++) {
                    var p = l[d];
                    p && (c += '<a href="' + r + '" k-name="send-click-stat" data-click-stat="' + o + '" target="_blank" title="' + p.title + '"><img class="js-recommend" src="' + p.pic1 + '" /></a>')
                }
                n.getUserInfo() || (i = '如您已是会员，请立即<a id="yuanxian_logoin" href="javascript:;">登录</a>');
                var h = '<div class="le_play_pop j_le_play_pop"><div style="display:block;-moz-user-select:none;" class="j_fullScreen new_pay_pop ' + s + '"><div class="new_pay_top"><a href="' + a + '" class="new_pay_pop_btn" target="_blank" k-name="send-click-stat" data-click-stat="' + e.reportField.clickStat.openVIPScreen + '">开通影视会员继续看</a><p class="new_pay_tips">' + i + '</p><ul class="vip_benefits"><li class="li_01"><em></em><p>热门影视<br>会员独享</p></li><li class="li_02"><em></em><p>海量内容<br>视听专享</p><i></i></li><li class="li_03"><em></em><p>智能加速<br>告别等待</p><i></i></li><li class="li_04"><em></em><p>共享三屏<br>畅享服务</p><i></i></li><li class="li_05"><em></em><p>拒绝广告<br>无忧观看</p><i></i></li><li class="li_06"><em></em><p>生态服务<br>优先特权</p><i></i></li></ul></div><div class="new_pay_tui"><p class="tui_tit">会员独享内容</p><div class="new_pay_list">' + c + "</div></div></div></div>";
                return h
            }, handleData: function (t) {
                var e = this;
                if (t && t.blockContent) {
                    e.recommendData.length = 0;
                    for (var i = 0, a = t.blockContent.length; a > i; i += 1)t.blockContent[i].pic1 && t.blockContent[i].album && t.blockContent[i].album.albumType && t.blockContent[i].album.albumType[180001] && e.recommendData.push(t.blockContent[i])
                }
            }, getTabTpl: function (t, e) {
                var i = this, a = "", s = {};
                switch (t) {
                    case"kaiTongVip":
                        s = {
                            overDayTip: "",
                            btnText: "开通会员免费看",
                            vipTabURL: i.vipTabURL,
                            erCodeURL: i.erCodeURL ? i.erCodeURL : "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=" + encodeURIComponent("http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=dsjycewm_pc")
                        }, i.showVipTextTip = !1;
                        break;
                    case"haveOver":
                        s = {
                            overDayTip: '<p class="renew_tips">您的影视会员<span class="col_red">已到期</span></p>',
                            btnText: "立即续费",
                            vipTabURL: i.vipTabURL,
                            erCodeURL: i.erCodeURL ? i.erCodeURL : "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=" + encodeURIComponent("http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=dsjycewm_pc")
                        }, i.showVipTextTip = !0;
                        break;
                    case"willOver":
                        s = {
                            overDayTip: e ? '<p class="renew_tips">您的影视会员还有<em>' + e + "天</em>到期</p>" : "",
                            btnText: "立即续费",
                            vipTabURL: i.vipTabURL,
                            erCodeURL: i.erCodeURL ? i.erCodeURL : "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=" + encodeURIComponent("http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=dsjycewm_pc")
                        }, i.showVipTextTip = !0
                }
                var o = '<div class="renew_box">{overDayTip}<div class="renew_btn_box"><a href="{vipTabURL}" class="renew_btn" target="_blank" k-name="send-click-stat" data-click-stat="' + i.reportField.clickStat.openVIPTab + '">{btnText}</a><div class="renew_weixinPop"><p class="renew_arrow"><i></i></p><img style="width:88px;" src="{erCodeURL}"><p class="renew_txt">微信 / 支付宝扫一扫 立即开通影视会员！ 完成支付，<a href="">立即播放</a></p></div></div></div>';
                return a = new Tpl(o), a.render(s)
            }, requestERCodeIMG: function () {
                var t = n.getUserInfo(), e = t && t.ssouid;
                if (!e)return !1;
                var i = this, a = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=", s = "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=dsjycewm_pc&uid=" + e;
                $.ajax({
                    url: "https://" + LETV.CONSTANT.host.SSO_LETV_COM + "/user/createQRCode?next_action=" + s,
                    data: {next_action: s},
                    type: "get",
                    dataType: "jsonp",
                    jsonp: "jsonp",
                    success: function (t) {
                        var e = t && t.bean && t.bean.qrcode;
                        if (e) {
                            var s = $("#erCode"), o = a + encodeURIComponent(e);
                            s.length ? s.attr("src", o) : i.erCodeURL ? i.erCodeURL : i.erCodeURL = o
                        }
                    }
                })
            }, orderUrlCallback: function (t) {
                if (t && t.vipurl) {
                    var e = this, i = encodeURIComponent(location.href);
                    t.vipurl.indexOf("?") >= 0 ? (t.vipurl += "&fronturl=" + i, e.fullScreenURL = t.vipurl.replace("ref=pbianlan", "ref=dsjbfqhy_pc"), e.vipTabURL = t.vipurl.replace("ref=pbianlan", "ref=dsjychy_pc")) : (t.vipurl += "?fronturl=" + i, e.fullScreenURL = t.vipurl.replace("ref=pbianlan", "ref=dsjbfqhy_pc"), e.vipTabURL = t.vipurl.replace("ref=pbianlan", "ref=dsjychy_pc")), e.fullScreenRecommendLinks = t.vipurl.replace("ref=pbianlan", "ref=dsjbfqyptj_pc")
                }
            }, showLoginTip: function () {
                var t = this.$flashBox, e = t.find(".j_le_play_pop"), i = '如您已是会员，请立即<a id="yuanxian_logoin" href="javascript:;">登录</a>';
                e.length && e.find(".new_pay_tips").html(i)
            }, removeLoginTip: function () {
                var t = this.$flashBox, e = t.find(".j_le_play_pop");
                e.length && e.find(".new_pay_tips").html("")
            }, exposeCode: function () {
                var t = this;
                t.codeExposed || ($(".le_jujiCnt").delegate(".renew_btn_box", "mouseenter", function () {
                    t.dataReport("19", t.reportField.exposureStat.erCodeVIP)
                }), t.codeExposed = !0)
            }, dataReport: function (t, e) {
                Stats.sendAction({acode: t, ap: e})
            }
        };
        r.init(), i.exports = r
    }, LTK["bz/www_play/vipAd"] = function (t, e, i) {
        var a = {
            playlistVipAd: null, inited: !1, init: function () {
                if (!this.inited) {
                    this.inited = !0;
                    var t = this;
                    if (__INFO__ && __INFO__.video && __INFO__.video.trylook) {
                        var e = __INFO__.video.pid;
                        $.ajax({
                            url: "http://" + LETV.CONSTANT.host.YUANXIAN_LETV_COM + "/sans/get_pay_play_delivery/" + e,
                            dataType: "jsonp",
                            success: function (e) {
                                if ("true" == e.result && e.data) {
                                    var i = e.data;
                                    i.img1 && i.link1 && ($(".le_path #JS_banner01 a").attr("href", i.link1), $(".le_path #JS_banner01 a img").attr("data-src", i.img1).attr("src", i.img1)), i.img2 && i.link2 && (t.playlistVipAd = {
                                        img: i.img2,
                                        link: i.link2
                                    }, $(".le_play a.pay_ref").attr("href", i.link2), $(".le_play a.pay_ref img").attr("data-src", i.img2).attr("src", i.img2)), i.img3 && i.link3 && ($(".le_other #JS_banner02 a").attr("href", i.link3), $(".le_other #JS_banner02 a img").attr("data-src", i.img3).attr("src", i.img3)), i.img4 && i.link4 && ($(".le_other #JS_banner01 a").attr("href", i.link4), $(".le_other #JS_banner01 img").attr("data-src", i.img4).attr("src", i.img4))
                                }
                            }
                        })
                    }
                }
            }
        };
        a.init(), i.exports = a
    }, LTK["bz/www_play/episodeList/episodeTryLook"] = function (t, e, i) {
        "use strict";
        var a = t("bz/www_play/events"), s = Spirit.Event, o = __INFO__.video || {}, n = {
            gradeCount: 0,
            mPlayCount: 0,
            pPlayCount: 0,
            comm: 0
        }, r = Spirit.UserValidate, l = {HYINFO: window.__HYINFO__ || {}}, c = t("air/util/clip"), d = t("air/string/byteLength"), p = {
            init: function () {
                this.initDom(), this.initEvent(), this.initLogEvent(), this.initTryLook()
            }, initDom: function () {
                var t = __INFO__.cid;
                this.currentVid = null, this.getPressionURL = "http://" + LETV.CONSTANT.host.YUANXIAN_LETV_COM + "/letv/getService.ldo?callback=?", this.presssionParm = {
                    from: "player",
                    end: "5",
                    pid: o.pid
                }, this.vipForbiddenURL = "http://d.api.m.le.com/api/authenticateService?callback=?", this.forbiddenParm = {
                    type: "validate",
                    ctype: "1",
                    cid: o.pid,
                    terminal: "141001",
                    storepath: "afdfajdfad",
                    userId: "",
                    country: "86",
                    deviceId: Stats.getCookie("tj_lc"),
                    businessId: "10003"
                }, this.getGradeAndTotal = {
                    url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/queryMmsTotalPCount",
                    type: "get",
                    dataType: "jsonp",
                    jsonp: "callback"
                }, this.getHYINFO = {url: "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/commonfrag/sub_hyinfo.inc"}, this.UA = navigator.userAgent.toLowerCase(), this.isSafari = /safari/i.test(this.UA) && !/chrome/i.test(this.UA), this.isMac = /macintosh/.test(this.UA), this.isH5 = $.browser.iPad || this.isMac && this.isSafari, this.ticketurl = "", this.shouldShowVipTab = !1, this.isForbidden = !1, this.recommendData = [], this.announceData = [], this.recTVBlock = "", this.tryLookHtml = {
                    tabHtml: "",
                    fullScreenHTML: ""
                }, this.$eventContainer = $(".column_width"), this.confrimUserTicketClicked = !1, this.tryLookDataStaus = {
                    gradeDataDone: !1,
                    CMSDataDone: !1
                }, this.CMSData = {}, this.logEventAdded = !1, this.firstInited = !1, this.doLogDone = !1, this.wuyuanBuyStat = !1, this.$flashBox = $("#fla_box"), this.erCodeURL = null, this.reportField = function (t) {
                    var e = {clickStat: {}, exposureStat: {}};
                    return 2 === t ? (e.exposureStat = {
                        wuyuanBuy: "ch=tv&pg=pay&bk=pskbldb&link=show",
                        vipTab: "ch=tv&pg=pay&bk=pskbl&link=show"
                    }, e.clickStat = {
                        openVIP: "ch=tv&pg=pay&bk=pskblkt&link=click",
                        openVIPFull: "ch=tv&pg=pay&bk=pskfckt&link=click",
                        wuyuanBuy: "ch=tv&pg=pay&bk=pskbldb&link=click",
                        wuyuanBuyFull: "ch=tv&pg=pay&bk=pskfcdb&link=click",
                        loginField: "ch=tv&pg=pay&bk=pskfcdl&link=click",
                        operationPos: "ch=tv&pg=pay&bk=pskfctj1&link=click"
                    }) : (e.exposureStat = {
                        wuyuanBuy: "ch=movie&pg=pay&bk=pskbldb&link=show",
                        vipTab: "ch=movie&pg=pay&bk=pskbl&link=show"
                    }, e.clickStat = {
                        openVIP: "ch=movie&pg=pay&bk=pskblkt&link=click",
                        openVIPFull: "ch=movie&pg=pay&bk=pskfckt&link=click",
                        wuyuanBuy: "ch=movie&pg=pay&bk=pskbldb&link=click",
                        wuyuanBuyFull: "ch=movie&pg=pay&bk=pskfcdb&link=click",
                        loginField: "ch=movie&pg=pay&bk=pskfcdl&link=click",
                        operationPos: ["ch=movie&pg=pay&bk=pskfctj1&link=click", "ch=movie&pg=pay&bk=pskfctj2&link=click"]
                    }), e
                }(t)
            }, initData: function () {
                var t = this, e = this.presssionParm, i = this.forbiddenParm, s = this.vipForbiddenURL;
                if (r.getUserInfo()) {
                    var o = r.getUserInfo();
                    e.ssouid = o.ssouid, e.uname = o.username, i.userId = o.ssouid
                } else delete e.uname, delete e.ssouid, delete i.userId;
                $.getJSON(s, i, function (e) {
                    var i = e && e.data;
                    i && 9999 == i.code ? (t.isForbidden = !0, t.showForbiddenPop(), t.shouldShowVipTab = !1, a.emit("episodeListRenderStart", !0)) : (t.isForbidden = !1, t.removeForbiddenPop(), t.pressionLogic())
                })
            }, pressionLogic: function () {
                var t = this, e = this.presssionParm, i = this.getPressionURL;
                $.getJSON(i, e, function (e) {
                    "0" == e.status ? (t.shouldShowVipTab = !0, t.ticketurl = e.ticketurl, t.getOtherMovie(e, function () {
                        t.html_logic(e), t.requestERCodeIMG(), a.emit("episodeListRenderStart", !0), t.playLogic(), t.dataReport("19", t.reportField.exposureStat.vipTab), navigator.userAgent.toLowerCase().indexOf("letv") > -1 && $(".confrimUserTicket").trigger("click")
                    })) : (t.shouldShowVipTab = !1, a.emit("episodeListRenderStart", !0), t.playLogic(!0))
                })
            }, playLogic: function (t) {
                var e = this, i = !!t;
                1 === __INFO__.cid ? (e.firstInited && a.emit(a.RELOAD, e.currentVid), e.firstInited = !0) : (i ? e.removeMaskForVIP() : "", a.on(a.PLAYER_VIDEO_COMPLETE, function (t) {
                    e.currentVid = t.nextVid
                }), a.on(a.PLAYER_PLAY_NEXT, function (t) {
                    e.currentVid = t.nextvid
                }), e.currentVid ? e.currentVid : e.currentVid = __INFO__.vid, e.isH5 ? a.emit(a.RELOAD, e.currentVid) : a.emit(a.PLAY_THIS, e.currentVid, "episode"))
            }, initEvent: function () {
                var t = this;
                a.on(a.PLAYER_VIDEO_PLAY, $.proxy(this.pauseControl, this)), a.on(a.PLAY_VIDEO, $.proxy(this.removeFullScreenTryLook, this)), a.on(a.DISPLAYTRYLOOK, $.proxy(this.episodeDisplayTryLook, this)), a.on(a.PLAYER_RESIZE, $.proxy(this.responseVideoResize, this)), a.on("EpisodeTryLookDataDone", $.proxy(this.episodeTryLookDataDone, this)), this.$eventContainer.on("click", ".confrimUserTicket", $.proxy(this.episodeConfrimUserTicket, this)), a.on("showFullScreenTryLook", $.proxy(this.showFullScreenTryLook, this)), a.on("hideFullScreenTryLook", $.proxy(this.hideFullScreenTryLook, this)), a.on("showBigForbiddenPop", $.proxy(this.showForbiddenPop, this)), a.on("showSmallForbiddenPop", $.proxy(this.showSmallForbiddenPop, this)), $(".le_jujibox").on("click", ".j_jujiGrid", function () {
                    t.currentVid = $(this).attr("data-vid")
                }), $("#fla_box_con").on("click", "#yuanxian_logoin", function () {
                    Spirit.userLogin.openLetvLogin(), t.dataReport(0, t.reportField.clickStat.loginField)
                })
            }, initLogEvent: function () {
                var t = this;
                t.logEventAdded || (s.addEvent("loginSuccess", function () {
                    a.emit("EpisodeTryLookDataDone", !0)
                }), s.addEvent("logoutSuccess", function () {
                    a.emit("EpisodeTryLookDataDone", !0)
                }), t.logEventAdded = !0)
            }, initTryLook: function () {
                var t = this;
                this.requestGrade(this.handleData), this.getCMSData(3220, function (e) {
                    t.tryLookDataStaus.CMSDataDone = !0, t.CMSData = e.blockContent[0], a.emit("EpisodeTryLookDataDone")
                })
            }, showForbiddenPop: function (t, e, i) {
                if (this.isForbidden) {
                    var s = this.$flashBox, o = i ? "small_play" : "", n = '<div class="le_play_new_pop j_le_forbid_pop ' + o + '"><div class="le_play_account j_le_play_account"><p class="new_account_01">检测到你的账号有异常，会员服务已冻结</p><p class="new_account_02">如有问题请联系客服：400-030-0104</p></div></div>';
                    s.find(".j_le_forbid_pop").remove(), s.prepend(n);
                    var r = e || s.height(), l = s.find(".j_le_play_account"), c = (r - l.height()) / 2;
                    l.css("top", c), a.emit(a.PLAYER_PAUSE), $("#www_player_1").css("visibility", "hidden")
                }
            }, showSmallForbiddenPop: function () {
                $("#fla_box").css("overflow", "hidden"), this.showForbiddenPop("400", "225", !0)
            }, removeForbiddenPop: function () {
                var t = this.$flashBox;
                t.find(".j_le_forbid_pop").remove(), $("#www_player_1").css("visibility", "visible")
            }, pauseControl: function () {
                this.isForbidden && (a.emit(a.PLAYER_PAUSE), $("#www_player_1").css("visibility", "hidden"))
            }, removeFullScreenTryLook: function () {
                var t = __INFO__.cid, e = __INFO__.video.trylook;
                return 1 !== t && 10 === e ? !1 : void this.$flashBox.find(".j_le_play_pop").remove()
            }, removeMaskForVIP: function () {
                this.$flashBox.find(".j_le_play_pop").remove()
            }, episodeTryLookDataDone: function (t) {
                this.doLogDone ? this.doLogDone : this.doLogDone = !!t;
                var e = this.tryLookDataStaus;
                e.gradeDataDone && e.CMSDataDone && this.doLogDone && this.initData()
            }, episodeDisplayTryLook: function () {
                var t = this;
                this.showFullScreenTryLook(), this.wuyuanBuyStat && this.dataReport("41", t.reportField.exposureStat.wuyuanBuy), this.dataReport("41", "paybg")
            }, showFullScreenTryLook: function (t, e) {
                if (!this.isForbidden) {
                    var i = this.$flashBox, a = t || i.width(), s = e || i.height(), o = $(this.tryLookHtml.fullScreenHTML), n = $(this.tryLookHtml.fullScreenMiniHTML);
                    400 === a && 225 === s && (o.hide(), n.hide()), i.find(".j_le_play_pop").remove(), 706 >= a ? i.prepend(n) : i.prepend(o);
                    var r = i.find(".j_fullScreen"), l = (s - r.height()) / 2;
                    r.css("top", l)
                }
            }, hideFullScreenTryLook: function () {
                this.$flashBox.find(".j_le_play_pop").hide()
            }, responseVideoResize: function (t, e) {
                var i = this.$flashBox.find(".j_le_play_pop");
                i.length > 0 && "none" !== i.css("display") && this.showFullScreenTryLook(t, e);
                var a = this.$flashBox.find(".j_le_forbid_pop");
                a.length > 0 && "none" !== a.css("display") && ($("#fla_box_p").hasClass("player_min") ? this.showSmallForbiddenPop() : this.showForbiddenPop(t, e))
            }, episodeConfrimUserTicket: function (t) {
                t.preventDefault(), this.confrimUserTicketClicked || (this.confrimUserTicketClicked = !0, $.getJSON(this.ticketurl + "&callback=?", {}, function (t) {
                    this.confrimUserTicketClicked = !1, 1 == t.status && location.reload(!0)
                }))
            }, getCMSData: function (t, e) {
                var i = "http://" + window.location.host, a = i + "/cmsdata/block/" + t + ".json?t=" + (new Date).getTime();
                this.sendMessage(a, e)
            }, sendMessage: function (t, e) {
                var i = this;
                $.ajax({
                    url: t, type: "get", dataType: "json", success: function (t) {
                        e.call(i, t)
                    }
                })
            }, requestGrade: function () {
                var t = this, e = this.getGradeAndTotal, i = {cid: o.cid, vid: o.vid, pid: o.pid, mid: o.mid};
                t.loadData(e.url, e.type, e.dataType, e.jsonp, i, function (e) {
                    o.mediaPlayCount = e.media_play_count, o.plistPlayCount = e.plist_play_count, o.plistScore = e.plist_score, t.handleData(o.mediaPlayCount, o.plistPlayCount, o.plistScore), t.tryLookDataStaus.gradeDataDone = !0, a.emit("EpisodeTryLookDataDone")
                })
            }, requestERCodeIMG: function () {
                var t = r.getUserInfo(), e = t && t.ssouid;
                if (!e)return !1;
                var i = this, a = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=", s = "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=zfqz&uid=" + e;
                $.ajax({
                    url: "https://" + LETV.CONSTANT.host.SSO_LETV_COM + "/user/createQRCode?next_action=" + s,
                    data: {next_action: s},
                    type: "get",
                    dataType: "jsonp",
                    jsonp: "jsonp",
                    success: function (t) {
                        var e = t && t.bean && t.bean.qrcode;
                        if (e) {
                            var s = $("#erCode"), o = a + encodeURIComponent(e);
                            s.length ? s.attr("src", o) : i.erCodeURL ? i.erCodeURL : i.erCodeURL = o
                        }
                    }
                })
            }, loadData: function (t, e, i, a, s, o) {
                var n = {
                    url: t, type: e, data: s, dataType: i, jsonp: a ? a : null, success: function (t) {
                        o(t)
                    }
                };
                $.ajax(n)
            }, formatData: function (t) {
                t = String(t);
                for (var e = []; t.length > 3;)e.push(t.slice(-3)), t = t.slice(0, -3);
                return e.push(t), e.reverse().join(",")
            }, handleData: function (t, e, i) {
                return n.mPlayCount = this.formatData(t), n.pPlayCount = this.formatData(e), n.gradeCount = i, n.gradeCount += "", n.gradeCount = n.gradeCount.indexOf(".") > 0 ? n.gradeCount.split(".") : n.gradeCount > 0 ? [n.gradeCount, 0] : [0, 0], 1 != o.cid && 2 != o.cid && 5 != o.cid && 11 != o.cid || !o.pid || 0 == o.pid ? n.comm = n.mPlayCount : n.comm = n.pPlayCount, n
            }, getOtherMovie: function (t, e) {
                var i = this, a = __INFO__.cid, s = 2 === a ? "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/5049.json" : "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/704.json";
                $.getJSON(s, {}, function (t) {
                    i._handleOprIMG(t), e && e()
                })
            }, _handleOprIMG: function (t) {
                var e = this, i = __INFO__.cid;
                if (2 !== i) {
                    e.recommendData.length = 0, e.announceData.length = 0;
                    for (var a = 0, s = t.blockContent.length; s > a; a += 1)t.blockContent[a].pic2 && (t.blockContent[a].album && t.blockContent[a].album.albumType && t.blockContent[a].album.albumType[180001] ? e.recommendData.push(t.blockContent[a]) : e.announceData.push(t.blockContent[a]));
                    e.recommendData.sort(function (t, e) {
                        return t.priority > e.priority ? -1 : 1
                    }), e.recommendData.length = 3, e.announceData.sort(function (t, e) {
                        return t.priority > e.priority ? -1 : 1
                    }), e.announceData.length = 3
                } else {
                    if (!t.blockContent.length)return !1;
                    e.recTVBlock = t.blockContent.slice()
                }
            }, html_logic: function (e) {
                var i = this, a = this.tryLookHtml, s = __INFO__.cid, c = {
                    fullScreenChoiceLinks: null,
                    fullScreenRecommendLinks: null,
                    fullScreenNewComingLinks: null,
                    TVFullScreenLings: null
                }, d = encodeURIComponent(location.href);
                e.orderurl.indexOf("?") >= 0 ? e.orderurl += "&fronturl=" + d : e.orderurl += "?fronturl=" + d, e.vipurl.indexOf("?") >= 0 ? (e.vipurl += "&fronturl=" + d, e.fullScreenURL = e.vipurl.replace("ref=pbianlan", "ref=pfcyp&from=letv")) : (e.vipurl += "?fronturl=" + d, e.fullScreenURL = e.vipurl.replace("ref=pbianlan", "ref=pfcyp&from=letv")), c.fullScreenChoiceLinks = e.orderurl.replace("ref=pbldb", "ref=pfcdb"), c.fullScreenRecommendLinks = e.vipurl.replace("ref=pbianlan", "ref=pfctj1"), c.fullScreenNewComingLinks = e.vipurl.replace("ref=pbianlan", "ref=pfctj2"), c.TVFullScreenLings = e.fullScreenURL;
                var p = function () {
                    var e = t("bz/www_play/vipAd");
                    return e.playlistVipAd || {}
                }, h = function (t) {
                    var e = parseInt(t.validDays) || 0;
                    if (e && e % 31 == 0 ? t.validTxt = e / 31 + "个月" : t.validTxt = e + "天", parseInt(t.ticketsize) > 0) {
                        var d = {
                            ticketVailTime: t.generalTicketValidDate,
                            ticketType: t.ticketType,
                            title: o.pTitle,
                            mainGrade: n.gradeCount[0],
                            otherGrade: n.gradeCount[1],
                            price: t.price || "",
                            ticketsize: t.ticketsize,
                            validTxt: t.validTxt
                        };
                        a.tabHtml = i.getTabTryLook3(d), a.fullScreenHTML = a.fullScreenMiniHTML = i.getFullScreenTpl2(d)
                    } else if (t.vip > 0) {
                        var h = {
                            title: o.pTitle,
                            mainGrade: n.gradeCount[0],
                            otherGrade: n.gradeCount[1],
                            newprice: t.newprice,
                            orderurl: t.orderurl,
                            price: t.price || "",
                            validTxt: t.validTxt
                        };
                        a.tabHtml = i.getTabTryLook4(h), a.fullScreenHTML = a.fullScreenMiniHTML = i.getFullScreenTpl3(h)
                    } else {
                        var u = {
                            title: o.pTitle,
                            mainGrade: n.gradeCount[0],
                            otherGrade: n.gradeCount[1],
                            vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                            vipurl: t.vipurl,
                            price: t.price || "",
                            payPromptHref: c.fullScreenChoiceLinks,
                            cmsDataHref: p().link || i.CMSData.url,
                            cmsDataImgSrc: p().img || i.CMSData.pic1,
                            validTxt: t.validTxt,
                            erCode: i.erCodeURL ? i.erCodeURL : "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=" + encodeURIComponent("http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=zfqz")
                        };
                        a.tabHtml = i.getTabTryLook2(u);
                        var m = {
                            wSizeClass: "w960",
                            fullScreenURL: t.fullScreenURL,
                            vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                            hyInfoPrice: l.HYINFO.price ? l.HYINFO.price : .2,
                            fullScreenChoiceLinks: '<a href="' + c.fullScreenChoiceLinks + '" target="_blank" k-name="send-click-stat" data-click-stat="' + i.reportField.clickStat.wuyuanBuyFull + '" class="js-full-db">' + t.price + "元购买此片</a>（" + t.validTxt + "有效）",
                            fullScreenRight: 2 === s ? "" : '<div class="pay_pop_top_right"><img height="170" src="http://i3.letvimg.com/lc07_img/201604/05/18/54/18/18/vip.png"></div>',
                            fullScreenNote: 2 === s ? "开通影视会员抢先看全集！" : "本节目为付费影片，开通影视会员即可完整观看。",
                            payListImg: "",
                            payLoginPrompt: ""
                        };
                        i.wuyuanBuyStat = !0, m.payListImg = i.getImgList(c, !0), r.getUserInfo() || (m.payLoginPrompt = ' <p class="pay_login_prompt">如您已开通影视会员或购买该片，请 <a id="yuanxian_logoin" href="javascript:;">登录</a> 后继续观看</p>'), a.fullScreenHTML = i.getFullScreenTpl1(m);
                        var v = {
                            wSizeClass: "w700",
                            fullScreenURL: t.fullScreenURL,
                            vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                            hyInfoPrice: l.HYINFO.price ? l.HYINFO.price : .2,
                            fullScreenChoiceLinks: '<a href="' + c.fullScreenChoiceLinks + '" target="_blank" k-name="send-click-stat" data-click-stat="' + i.reportField.clickStat.wuyuanBuyFull + '" class="js-full-db">' + t.price + "元购买此片</a>（" + t.validTxt + "有效）",
                            fullScreenRight: "",
                            fullScreenNote: 2 === s ? "开通影视会员抢先看全集！" : "本节目为付费影片，开通影视会员即可完整观看。",
                            payListImg: "",
                            payLoginPrompt: "",
                            allowmonth: t.allowmonth
                        };
                        i.wuyuanBuyStat = !0, v.payListImg = i.getImgList(c, !1), r.getUserInfo() || (v.payLoginPrompt = ' <p class="pay_login_prompt">如您已开通影视会员或购买该片，请 <a id="yuanxian_logoin" href="javascript:;">登录</a> 后继续观看</p>'), a.fullScreenMiniHTML = i.getFullScreenTpl1(v)
                    }
                }, u = function (t) {
                    var e = {
                        allowmonth: t.allowmonth,
                        title: o.pTitle,
                        mainGrade: n.gradeCount[0],
                        otherGrade: n.gradeCount[1],
                        vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                        vipurl: t.vipurl,
                        cmsDataHref: p().link || i.CMSData.url,
                        cmsDataImgSrc: p().img || i.CMSData.pic1,
                        erCode: i.erCodeURL ? i.erCodeURL : "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=280&txt=" + encodeURIComponent("http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=zfqz")
                    };
                    a.tabHtml = i.getTabTryLook1(e);
                    var d = {
                        allowmonth: t.allowmonth,
                        wSizeClass: "w960",
                        fullScreenURL: t.fullScreenURL,
                        vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                        hyInfoPrice: l.HYINFO.price ? l.HYINFO.price : .2,
                        fullScreenRight: 2 === s ? "" : '<div class="pay_pop_top_right"><img height="170" src="http://i3.letvimg.com/lc07_img/201604/05/18/54/18/18/vip.png"></div>',
                        fullScreenNote: 2 === s ? "开通影视会员抢先看全集！" : "本节目为付费影片，开通影视会员即可完整观看。",
                        fullScreenChoiceLinks: "",
                        payListImg: "",
                        payLoginPrompt: ""
                    };
                    d.payListImg = i.getImgList(c, !0), r.getUserInfo() || (d.payLoginPrompt = ' <p class="pay_login_prompt">如您已开通影视会员或购买该片，请 <a id="yuanxian_logoin" href="javascript:;">登录</a> 后继续观看</p>'), a.fullScreenHTML = i.getFullScreenTpl1(d);
                    var h = {
                        allowmonth: t.allowmonth,
                        wSizeClass: "w700",
                        fullScreenURL: t.fullScreenURL,
                        vipPromotion: "<i>" + (l.HYINFO.desc ? l.HYINFO.desc : "会员活动ing") + "</i>",
                        hyInfoPrice: l.HYINFO.price ? l.HYINFO.price : .2,
                        fullScreenRight: "",
                        fullScreenChoiceLinks: "",
                        fullScreenNote: 2 === s ? "开通影视会员抢先看全集！" : "本节目为付费影片，开通影视会员即可完整观看。",
                        payListImg: "",
                        payLoginPrompt: ""
                    };
                    h.payListImg = i.getImgList(c, !1), r.getUserInfo() || (h.payLoginPrompt = ' <p class="pay_login_prompt">如您已开通影视会员或购买该片，请 <a id="yuanxian_logoin" href="javascript:;">登录</a> 后继续观看</p>'), a.fullScreenMiniHTML = i.getFullScreenTpl1(h)
                };
                "1" == e.ticketType ? h(e) : 0 == e.allowmonth ? h(e) : (1 == e.allowmonth || 2 == e.allowmonth) && u(e)
            }, getImgList: function (t, e) {
                var i = this, a = t.fullScreenRecommendLinks, s = t.fullScreenNewComingLinks, o = t.TVFullScreenLings, n = i.reportField.clickStat.operationPos[0], r = i.reportField.clickStat.operationPos[1], l = i.reportField.clickStat.operationPos, c = this.recommendData, d = this.announceData, p = this.recTVBlock, h = __INFO__.cid, u = "", m = "", v = "";
                if (2 !== h) {
                    for (var f = e ? 3 : 2, _ = 0; f > _; _++) {
                        var g = c[_], y = d[_];
                        g && (u += '<a href="' + a + '" k-name="send-click-stat" data-click-stat="' + n + '" target="_blank" title="' + g.title + '"><img class="js-recommend" src="' + g.pic2 + '" /></a>'), y && (m += '<a href="' + s + '" k-name="send-click-stat" data-click-stat="' + r + '" target="_blank" title="' + y.title + '"><img class="js-newcoming" src="' + y.pic2 + '" /></a>')
                    }
                    return u + m
                }
                return v = e ? '<a href="' + o + '" k-name="send-click-stat" data-click-stat="' + l + '" target="_blank" title="' + p[0].title + '"><img class="js-recommend" src="' + p[0].pic2 + '"></a>' : '<a href="' + o + '" k-name="send-click-stat" data-click-stat="tv=movie&pg=pay&bk=pskfctj1&link=click" target="_blank" title="' + p[0].title + '"><img class="js-recommend" src="' + p[0].pic1 + '"></a>'
            }, getTabTryLook1: function (t) {
                var e = this, i = Spirit.UserValidate.getUserInfo(), a = '<dl class="video-info-top"><dt title="{title}">{clipedTitle}</dt><dd class="movie-grade"><b><em>{mainGrade}</em>.{otherGrade}</b>分</dd></dl><div class="pay_ico"><a target="_blank" k-name="send-click-stat" data-click-stat="' + e.reportField.clickStat.openVIP + '" class="n-l js-start-vip" title="开通影视会员免费看" href="{vipurl}">开通影视会员免费看{vipPromotion}</a></div><p class="pay_txt">畅享全站大片+无广告</p><div class="Line"></div>', s = "";
                s = i ? t.erCode : "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=zfqz", a += '<div class="pay_tequan"><img src="http://i2.letvimg.com/lc07_img/201604/05/18/54/18/18/tequan.png"></div><dl class="pay_erwm"><dt><img id="erCode" style="width: 88px;" src="{erCode}"></dt><dd>微信/支付宝扫一扫<br>立即开通影视会员！<br>完成支付，<a href="">立即播放</a></dd></dl><a class="pay_ref" href="{cmsDataHref}" target="_blank"><img src="{cmsDataImgSrc}"></a>';
                var o = new Tpl(a, this.formatItem);
                return o.render(t)
            }, getTabTryLook2: function (t) {
                var e = this, i = (__INFO__.cid, Spirit.UserValidate.getUserInfo()), a = '<dl class="video-info-top"><dt title="{title}">{clipedTitle}</dt><dd class="movie-grade"><b><em>{mainGrade}</em>.{otherGrade}</b>分</dd></dl><div class="pay_ico"><a target="_blank" k-name="send-click-stat" data-click-stat="' + e.reportField.clickStat.openVIP + '"  class="n-l js-start-vip" title="开通影视会员用券看" href="{vipurl}">开通影视会员用券看{vipPromotion}</a></div><p class="pay_txt">畅享全站大片+无广告</p><div class="Line"></div>', s = "";
                s = i ? t.erCode : "http://" + LETV.CONSTANT.host.ZHIFU_LETV_COM + "/mz/tobuy/regular?ref=zfqz", a += '<div class="pay_tequan"><img src="http://i2.letvimg.com/lc07_img/201604/05/18/54/18/18/tequan.png"></div><dl class="pay_erwm"><dt><img id="erCode" style="width: 88px;" src="{erCode}"></dt><dd>微信/支付宝扫一扫<br>立即开通影视会员！<br>完成支付，<a href="">立即播放</a></dd></dl><a class="pay_ref" href="{cmsDataHref}" target="_blank"><img src="{cmsDataImgSrc}"></a><p class="pay_prompt"><a href="{payPromptHref}" target="_blank" k-name="send-click-stat" data-click-stat="' + e.reportField.clickStat.wuyuanBuy + '">{price}元购买此片</a>{validTxt}有效</p>';
                var o = new Tpl(a, this.formatItem);
                return this.dataReport("19", e.reportField.exposureStat.wuyuanBuy), o.render(t)
            }, getTabTryLook3: function (t) {
                var e = "";
                e = "1" == t.ticketType ? '<dl class="video-info-top"><dt title="{title}">{clipedTitle}</dt><dd class="movie-grade"><b><em>{mainGrade}</em>.{otherGrade}</b>分</dd></dl><div class="vip-info"><ul style="" class="u-vip"><li class="Li01">有效期至 {ticketVailTime}</li><li class="Li02">可观看任何一部影片</li></ul></div><div class="vip-input"><p class="p1"><a class="n-1 confrimUserTicket" target="_blank" href="javascript:void(0);">确认使用</a></p><p class="pay_txt">{validTxt}内随意观看</p></div><div class="Line"></div><dl class="pay_explain"><dt>通用观影券说明</dt><dd>通用观影券可观看任何一部影片，用户凭观影券可免费观看</dd></dl>' : '<dl class="video-info-top"><dt title="{title}">{clipedTitle}</dt><dd class="movie-grade"><b><em>{mainGrade}</em>.{otherGrade}</b>分</dd></dl><div class="vip-info"><ul style="" class="u-vip"><li class="Li01">原价：{price}元</li><li class="Li02">您有观影券：<i>{ticketsize}</i>张</li><li class="Li03">免费观看需消耗<i>1</i>张</li></ul></div><div class="vip-input"><p class="p1"><a class="n-1 confrimUserTicket" target="_blank" href="javascript:void(0);">确认使用</a></p><p class="pay_txt">{validTxt}内随意观看</p></div><div class="Line"></div><dl class="pay_explain"><dt>会员观影券说明</dt><dd>部分影视剧观看需单独购买，会员凭观影券可免费观看</dd></dl>';
                var i = new Tpl(e, this.formatItem);
                return i.render(t)
            }, getTabTryLook4: function (t) {
                var e = '<dl class="video-info-top"><dt title="title">{clipedTitle}</dt><dd class="movie-grade"><b><em>{mainGrade}</em>.{otherGrade}</b>分</dd></dl><div class="vip-info"><ul style="" class="u-vip no_quan"><li class="Li00">会员价：{newprice}元</li><li class="Li01">原价：{price}元</li><li class="Li02">亲爱的用户：</li><li class="Li03">您本月的观影券已用完，会员可享受点播库影片半价。</li></ul></div><div class="vip-input"><p class="p1"><a class="n-1" target="_blank" href="{orderurl}">确认购买</a></p><p class="pay_txt">{validTxt}内随意观看</p></div><div class="Line"></div><dl class="pay_explain"><dt>观影券说明</dt><dd>部分影视剧观看需单独购买，会员凭观影券可免费观看</dd></dl>', i = new Tpl(e, this.formatItem);
                return i.render(t)
            }, formatItem: function (t) {
                var e = p;
                d(t.title) > 20 ? t.clipedTitle = e.episodeClipStr(t.title, 20, 18, "..") : (t.clipedTitle = t.title, t.title = "")
            }, getFullScreenTpl1: function (t) {
                var e = this, i = $("#fla_box").height(), a = (i - 440) / 2, s = __INFO__.cid, o = 2 === s ? "更多大片会员" : "成为影视会员，超过 5000 部影片", n = "1" == t.allowmonth || "2" == t.allowmonth ? "开通影视会员继续看" : "开通影视会员用券看", r = '<div class="le_play_pop j_le_play_pop"><div style="display:block;top:' + a + 'px" class="j_fullScreen pay_pop {wSizeClass}"><div class="pay_pop_top"><div class="pay_pop_top_left"><p class="pay_info">{fullScreenNote}</p><div class="pay_ico"><a target="_blank" k-name="send-click-stat" data-click-stat="' + e.reportField.clickStat.openVIPFull + '" class="pay_ico_pay" title="' + n + '" href="{fullScreenURL}">' + n + '{vipPromotion}</a><span class="pay_money">最低只需 <b>{hyInfoPrice}元</b> /天</span></div><p class="pay_prompt"><span>畅享大片+无广告</span>{fullScreenChoiceLinks}</p></div>{fullScreenRight}</div><div class="pay_pop_tui"><p class="pay_isvip">' + o + '<b>免费</b>看！</p><div class="pay_list"><div class="pay_list_img">{payListImg}</div></div>{payLoginPrompt}</div></div></div>', l = new Tpl(r);
                return l.render(t)
            }, getFullScreenTpl2: function (t) {
                var e = $("#fla_box").height(), i = (e - 280) / 2, a = "";
                a = "1" == t.ticketType ? '<div class="le_play_pop j_le_play_pop"><div style="display:block;top:' + i + 'px" class="j_fullScreen pay_pop w325"><h3 class="use_juan">尊敬的用户：<br/>试看已经结束，继续欣赏请使用观影券！</h3><div class="juan_count"><p class="juan_p1">有效期至 {ticketVailTime}</p><p class="juan_p2">可观看任何一部影片</p></div><div class="juan_btn"><a class="n-1 confrimUserTicket" href="javascript:;">确认使用</a></div><p class="juan_p3">{validTxt}内随意观看</p></div></div>' : '<div class="le_play_pop j_le_play_pop"><div style="display:block;top:' + i + 'px" class="j_fullScreen pay_pop w325"><h3 class="use_juan">尊敬的用户：<br/>试看已经结束，继续欣赏请使用观影券！</h3><div class="juan_count"><p class="juan_p1">您现有观影券：<b>{ticketsize}</b> 张</p><p class="juan_p2">免费观看需消耗：<b>1</b> 张</p></div><div class="juan_btn"><a class="n-1 confrimUserTicket" href="javascript:;">确认使用</a></div><p class="juan_p3">{validTxt}内随意观看</p></div></div>';
                var s = new Tpl(a);
                return s.render(t)
            }, getFullScreenTpl3: function (t) {
                var e = $("#fla_box").height(), i = (e - 280) / 2, a = '<div class="le_play_pop j_le_play_pop"><div style="display:block;top:' + i + 'px" class="j_fullScreen pay_pop w325"><h3 class="use_juan">尊敬的用户：<br>试看已经结束，继续欣赏请购买点播！</h3><div class="juan_count"><p class="juan_p1">会员价：<b>{newprice}</b> 元</p><p class="juan_p2">原    价：<b>{price}</b> 元</p></div><div class="juan_btn"><a class="n-1" href="{orderurl}">确认购买</a></div><p class="juan_p3">{validTxt}内随意观看</p></div></div>', s = new Tpl(a);
                return s.render(t)
            }, dataReport: function (t, e) {
                Stats.sendAction({acode: t, ap: e})
            }, episodeClipStr: function (t, e, i, a) {
                return d(t) > e ? c(t, i, a) : t
            }
        };
        p.init(), i.exports = p
    }, LTK["bz/www_play/episodeList"] = function (require, exports, module) {
        "use strict";
        function checkPhone() {
            11 != $(this).val().length || $("#imgGuideAPP")[0] || $(".get_msgCode").after('<img id="imgGuideAPP" src="http://' + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime() + '"><a href="javascript:;" class="changeCode">换一换</a>')
        }

        function refreshCheckCode() {
            $("#imgGuideAPP").attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
        }

        function sendMsgToPhone() {
            $(".error_tip").css("color", "#ff525e");
            var t = $(".num_inp").val(), e = $(".get_msgCode").val();
            return 11 != t.length ? ($(".error_tip").html("请输入正确的手机号"), void setTimeout(function () {
                $(".error_tip").html("")
            }, 4e3)) : 4 != e.length ? ($(".error_tip").html("请输入正确的验证码"), void setTimeout(function () {
                $(".error_tip").html("")
            }, 4e3)) : void $.ajax({
                type: "post",
                url: "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/checkcaptcha?callback=?",
                data: {mobile: t, captchaValue: e, source: "appdownload", position: "tab_play"},
                dataType: "jsonp",
                success: function (t) {
                    switch (t.code) {
                        case 0:
                            $(".error_tip").css("color", "#34D780"), $(".error_tip").html("短信已成功发送"), Stats.sendAction({
                                acode: "0",
                                ap: "appClick1225",
                                targeturl: ""
                            });
                            break;
                        case 2:
                            $(".error_tip").html("验证码输入错误");
                            break;
                        case 4:
                            $(".error_tip").html("请填写手机号");
                            break;
                        case 5:
                            $(".error_tip").html("手机号格式错误");
                            break;
                        case 9:
                        case 10:
                            $(".error_tip").html("今天发送的短信过多");
                            break;
                        default:
                            $(".error_tip").html("短信发送失败")
                    }
                    $(".get_msgCode").val("验证码"), refreshCheckCode(), setTimeout(function () {
                        $(".error_tip").html("")
                    }, 4e3)
                }
            })
        }

        var _lastTmpTab = "", EpisodeList = {
            init: function () {
                this._initDom(), this._initEvent(), this._initList()
            }, _initDom: function () {
                this.INFO = LETV.using.call(window, "__INFO__"), this.Utils = LETV.using("Utils"), this.clip = require("air/util/clip"), this.byteLength = require("air/string/byteLength"), this.thousand = require("air/string/thousand"), this.initIScroll = require("bz/module/initIScroll_v5"), this.barrageLogic = require("bz/www_play/barrageLogic"), this.myiScroll = null, this.PlayList = this.INFO.playlist || {}, this.VideoInfo = this.INFO.video || [], this.VideoInfo.varietyShow = 30 == this.INFO.cid || 1029 == this.INFO.cid || 1035 == this.INFO.cid ? "1" : this.VideoInfo.varietyShow, this.$playArea = $(".layout_play .le_play"), this.$videoContener = this.$playArea.find(".le_playbox"), this.$listContener = this.$playArea.find(".le_jujibox"), this.$titleCon = this.$listContener.find(".juji_tit"), this.currentVid = this.VideoInfo.vid, this.changeVid = null, this.currentVtype = "", this.TabsJSON = [], this.pageSize = 100, this.dataFrom = {
                    CMS: "CMS",
                    MMS: "MMS",
                    CurrentVideo: "currentVideo",
                    ReleaseDate: "releaseDate",
                    RecommendData: "recommendData",
                    FristRelease: "firstRelease",
                    ZYPositive: "ZYPositive",
                    Music: "music",
                    RelationAlbum: "relationAlbum",
                    GridType: "gridType"
                }, this.tabExposeStatConfig = {
                    huiyuanTab: {
                        type: "trylook",
                        dis: "会员tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=huiyuanTab",
                        contains: []
                    },
                    episodeTab: {
                        type: "episode",
                        dis: "剧集tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=episodeTab",
                        contains: ["episodeItem", "zhoubianItem", "xiangguanItem", "jujiBar", "jujiPages", "genboBar"]
                    },
                    zhoubianTab: {
                        type: "related",
                        dis: "周边tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=zhoubianTab",
                        contains: ["CMSItem", "guanlianItem", "subVideoItem", "jujiPages"]
                    },
                    reyingTab: {
                        type: "hotView",
                        dis: "热映tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=reyingTab",
                        contains: ["reyingItem"]
                    },
                    qishuTab: {
                        type: "episode",
                        dis: "期数tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=qishuTab",
                        contains: ["episodeItem", "zhoubianItem", "xiangguanItem", "yearPages", "monthPages", "genboBar"]
                    },
                    xiangguanTab: {
                        type: "xiangguan",
                        dis: "相关tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=xiangguanTab",
                        contains: ["CMSItem", "currentItem", "recommendItem"]
                    },
                    pianduanTab: {
                        type: "related",
                        dis: "片段tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=pianduanTab",
                        contains: ["guanlianItem", "subVideoItem", "jujiPages"]
                    },
                    liebiaoTab: {
                        type: "episode",
                        dis: "列表tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=liebiaoTab",
                        contains: ["episodeItem", "zhoubianItem", "xiangguanItem", "jujiPages"]
                    },
                    zhuanjiTab: {
                        type: "episode",
                        dis: "专辑tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=zhuanjiTab",
                        contains: ["episodeItem", "jujiPages"]
                    },
                    listingTab: {
                        type: "listing",
                        dis: "综艺列表tab",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=listingTab",
                        contains: ["episodeItem", "pointItem", "xiangguanItem", "genboBar"]
                    }
                }, this.itemExposeStatConfig = {
                    episodeItem: {
                        dis: "剧集tab-剧集视频",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=episodeItem",
                        beContained: []
                    },
                    zhoubianItem: {
                        dis: "剧集tab-周边视频（5条）",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=zhoubianItem",
                        beContained: []
                    },
                    xiangguanItem: {
                        dis: "剧集tab-相关系列",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=xiangguanItem",
                        beContained: []
                    },
                    jujiBar: {dis: "剧集tab-剧集信息", show: !1, statStr: "ch=www&pg=play_v1&bk=jujiBar", beContained: []},
                    genboBar: {dis: "剧集tab-跟播信息", show: !1, statStr: "ch=www&pg=play_v1&bk=genboBar", beContained: []},
                    CMSItem: {dis: "周边tab-CMS推广位", show: !1, statStr: "ch=www&pg=play_v1&bk=CMSItem", beContained: []},
                    guanlianItem: {
                        dis: "周边tab-视频关联",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=guanlianItem",
                        beContained: []
                    },
                    subVideoItem: {
                        dis: "周边tab-非正片视频",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=subVideoItem",
                        beContained: []
                    },
                    currentItem: {
                        dis: "相关tab-当前播放视频",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=currentItem",
                        beContained: []
                    },
                    recommendItem: {
                        dis: "相关tab-推荐数据",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=recommendItem",
                        isRecommend: !0,
                        isAB: !1,
                        beContained: []
                    },
                    jujiPages: {
                        dis: "周边tab-剧集分页",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=jujiPages",
                        beContained: []
                    },
                    yearPages: {
                        dis: "期数tab-年份分页",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=yearPages",
                        beContained: []
                    },
                    monthPages: {
                        dis: "期数tab-月份分页",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=monthPages",
                        beContained: []
                    },
                    reyingItem: {dis: "热映-运营位", show: !1, statStr: "ch=www&pg=play_v1&bk=reyingItem", beContained: []},
                    pointItem: {
                        dis: "综艺列表tab-精彩看点",
                        show: !1,
                        statStr: "ch=www&pg=play_v1&bk=pointItem",
                        beContained: []
                    }
                }, this.clickStatConfig = {
                    huiyuanTab: "ch=www&pg=play_v1&bk=huiyuanTab&link=tab",
                    episodeTab: "ch=www&pg=play_v1&bk=episodeTab&link=tab",
                    zhoubianTab: "ch=www&pg=play_v1&bk=zhoubianTab&link=tab",
                    reyingTab: "ch=www&pg=play_v1&bk=reyingTab&link=tab",
                    qishuTab: "ch=www&pg=play_v1&bk=qishuTab&link=tab",
                    xiangguanTab: "ch=www&pg=play_v1&bk=xianguanTab&link=tab",
                    listingTab: "ch=www&pg=play_v1&bk=listingTab&link=tab",
                    goodsTab: "ch=www&pg=play_v1&bk=goodsTab&link=tab",
                    pianduanTab: "ch=www&pg=play_v1&bk=pianduanTab&link=tab",
                    zhuanjiTab: "ch=www&pg=play_v1&bk=zhuanjiTab&link=tab",
                    liebiaoTab: "ch=www&pg=play_v1&bk=liebiaoTab&link=tab",
                    episodeItem: "ch=www&pg=play_v1&bk=episodeItems&link=episode",
                    zhoubianItem: "ch=www&pg=play_v1&bk=zhoubianItems&link=episode",
                    xiangguanItem: "ch=www&pg=play_v1&bk=xiangguanItems&link=episode",
                    CMSItem: "ch=www&pg=play_v1&bk=CMSItem&link=zhoubian",
                    guanlianItem: "ch=www&pg=play_v1&bk=guanlianItem&link=zhoubian",
                    subVideoItem: "ch=www&pg=play_v1&bk=subVideoItem&link=zhoubian",
                    currentItem: "ch=www&pg=play_v1&bk=episodeItems&link=xiangguan",
                    recommendItem: "ch=www&pg=play_v1&bk=recommendItems&link=xiangguan",
                    pointItem: "ch=www&pg=play_v1&bk=pointItem&link=listing",
                    reyingItem: "ch=www&pg=play_v1&bk=reyingItem&link=reying"
                }, this.foldClickStat = {
                    openStat: "ch=www&pg=play_v1&bk=player_right&link=open",
                    closeStat: "ch=www&pg=play_v1&bk=player_right&link=close"
                }, this.episodeType = {
                    longVideoType: !1,
                    shortVideoType: !1,
                    goLongVideoLogic: !1,
                    goShortVideoLogic: !1
                }, this.playingVtype = "", this.userClickedTab = !1, this.watchingFocusObj = {
                    vid: 0,
                    time: 0,
                    isActived: !1
                }, this.episodeDefaultImg = "http://i0.letvimg.com/img/201412/19/letv_bg.png", this.episodeRecommend = null, this.episodeDragBar = null, this.episodeInited = !1, this.episodeReInitCount = 0, this.childNotVarietyShow = !1, this.educatedNotVarietyShow = !1, this.tabAdded = !1, this.abFlag = !1, this.randomInited = !1, this.zyListDoRefresh = !1, this.tvIsVIP = !1, this.isTryLook = !1, this.tryLook = {}, this.tryLookValue = this.VideoInfo.trylook, this.albumPayPlatform = this.VideoInfo.hasOwnProperty("albumPayPlatform") && this.VideoInfo.albumPayPlatform.hasOwnProperty("141001"), this.UA = navigator.userAgent.toLowerCase(), this.isSafari = /safari/i.test(this.UA) && !/chrome/i.test(this.UA), this.isMac = /macintosh/.test(this.UA), this.isH5 = $.browser.iPad || this.isMac && this.isSafari, this.episodeInteraction = require("bz/www_play/episodeList/episodeInteraction"), (10 === this.VideoInfo.trylook || this.albumPayPlatform) && (this.isTryLook = !0, 2 === this.VideoInfo.cid ? this.tryLook = require("bz/www_play/episodeList/episodeTryLook_tv") : this.tryLook = require("bz/www_play/episodeList/episodeTryLook"))
            }, _initEvent: function () {
                var t = this;
                this.playListEvent = require("bz/www_play/events"), this.playListEvent.on(this.playListEvent.PLAY_VIDEO, this.responsePlayVideo), this.playListEvent.on(this.playListEvent.PLAYER_RESIZE, this.responseVideoResize), this.playListEvent.on("episodeListOpen", this.episodeListOpen), this.playListEvent.on("episodeListClose", this.episodeListClose), this.playListEvent.one(this.playListEvent.PLAYER_VIDEO_PLAY, this.responseVideoPlayBegin), this.playListEvent.on(this.playListEvent.PLAYER_VIDEO_PLAY, this.activeWatchingPoint), this.playListEvent.on("episodeAddTab", $.proxy(this.episodeAddTab, this)), this.playListEvent.on("episodeActiveTab", $.proxy(this.episodeActiveTab, this)), this.playListEvent.on("episodeRemoveTab", $.proxy(this.episodeRemoveTab, this)), this.playListEvent.on(this.playListEvent.CHANGE_FULLSCREEN, $.proxy(this.changeFullscreen, this)), this.playListEvent.on(this.playListEvent.SHOW_RECOMMEND, $.proxy(this.showRecommend, this)), this.playListEvent.on(this.playListEvent.PLAYER_VIDEO_PAUSE, $.proxy(this.playerVideoPause, this)), this.playListEvent.on("dragInited", $.proxy(this.initDragArea, this)), $(".juji_cnt").on("click", ".buy_btn", function () {
                    var e = $(this).parents(".goods_list").attr("goods_id"), i = {
                        purType: 1,
                        pids: e,
                        needCartDetail: 0,
                        arrivalId: 1,
                        cpsid: t.currentVid,
                        rs: 11
                    };
                    Cookie.get("ssouid") || (i.tokenid = 0), t.playListEvent.emit(t.playListEvent.ADD_GOODS_SUCCESS, i)
                }), $(".juji_cnt").on("click", ".subscribe_btn,.details_btn", function () {
                    var e = $(this).attr("btn_type"), i = $(this).parents(".goodsbox").attr("orderitem_id"), a = {
                        btnType: e,
                        orderItemId: i
                    };
                    t.playListEvent.emit(t.playListEvent.GET_GOODS_URL, a)
                }), $(".juji_cnt").on("click", ".goods_img", function () {
                    var e = $(this).parents(".goodsbox").attr("orderitem_id");
                    $(this).attr("detail_url");
                    t.playListEvent.emit(t.playListEvent.GET_GOODS_URL, {btnType: "detail_url", orderItemId: e})
                }), $(".juji_cnt").on("click", ".d_time", function () {
                    var e = $(this).attr("showtime");
                    t.playListEvent.emit(t.playListEvent.SEEK_TO, e)
                })
            }, _initList: function () {
                var t = this;
                this.initListBtn(), this.currentOptions = {
                    dragArea: ".rollbar",
                    dragbar: ".rollbar_btn",
                    sliderArea: ".juji_cnt",
                    silderOut: ".juji_cntBox"
                }, $.browser.iPad || $.browser.andorid ? (t._addPadClickEvent("a_jujiTemp", function () {
                    t.fifteenTimer && clearTimeout(t.fifteenTimer);
                    var e = $(this).attr("data-vtype"), i = $(this).attr("data-vid");
                    if (e && i) {
                        if (t.currentVid == i)return;
                        if (t.barrageLogic.removeBarrage(), t.currentVid = i, 2 !== __INFO__.cid || window.history && window.history.pushState || (location.href = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + t.currentVid + ".html"), 11 === __INFO__.cid && $(this).hasClass("click-refresh") && t.playListEvent.emit("REFRESH_ZY_LISTING", t.currentVid), t.currentVtype = e, t.setActiveTab(t.currentVtype, "list"), t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), 11 === __INFO__.cid || 2 === __INFO__.cid) {
                            t.playListEvent.emit("episodeRemoveTab", "voteInteraction");
                            for (var a = 0, s = t.TabsJSON.length; s > a; a += 1)"voteInteraction" === t.TabsJSON[a].type && t.TabsJSON.splice(a, 1);
                            t.episodeInteraction.run(EpisodeList, t.currentVid, __INFO__.pid)
                        }
                    }
                }), t._addPadClickEvent("j_jujiGrid", function () {
                    var e = $(this).attr("data-vid"), i = location.href, a = /vplay\/(\d{1,})/, s = a.exec(i)[1];
                    if ((t.currentVid != e || t.currentVid != s) && (t.barrageLogic.removeBarrage(), t.currentVid = e, t.changeVid = e, t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), 11 === __INFO__.cid || 2 === __INFO__.cid)) {
                        t.playListEvent.emit("episodeRemoveTab", "voteInteraction");
                        for (var o = 0, n = t.TabsJSON.length; n > o; o += 1)"voteInteraction" === t.TabsJSON[o].type && t.TabsJSON.splice(o, 1);
                        t.episodeInteraction.run(EpisodeList, t.currentVid, __INFO__.pid)
                    }
                }), t._addPadClickEvent("j_jujiKandian", function () {
                    if ("START" === LETV.PLYAER_STATE) {
                        var i = $(".j_jujiKandian"), a = $(this);
                        if (i.removeClass("cur"), a.addClass("cur"), 11 === t.INFO.cid) {
                            var s = a.attr("data-vid");
                            if (t.currentVid.toString() === s)return;
                            t.barrageLogic.removeBarrage(), t.currentVid = s, t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), "javascript:;" === a.attr("href") && t._stopDefault(e)
                        } else {
                            var o = $(this).attr("data-playtime");
                            t.playListEvent.emit(t.playListEvent.SEEK_TO, o), t.watchingFocusObj.time = o
                        }
                    }
                })) : (this.$listContener.on("click", ".a_jujiTemp", function (e) {
                    t.fifteenTimer && clearTimeout(t.fifteenTimer);
                    var i = $(this).attr("data-vtype"), a = $(this).attr("data-vid");
                    if (i && a) {
                        if (t.currentVid == a)return;
                        if (t.barrageLogic.removeBarrage(), t.currentVid = a, 2 !== __INFO__.cid || window.history && window.history.pushState || (location.href = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + t.currentVid + ".html"), 11 === __INFO__.cid && $(this).hasClass("click-refresh") && t.playListEvent.emit("REFRESH_ZY_LISTING", t.currentVid), t.currentVtype = i, t.setActiveTab(t.currentVtype, "list"), t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), 11 === __INFO__.cid || 2 === __INFO__.cid) {
                            t.playListEvent.emit("episodeRemoveTab", "voteInteraction");
                            for (var s = 0, o = t.TabsJSON.length; o > s; s += 1)"voteInteraction" === t.TabsJSON[s].type && t.TabsJSON.splice(s, 1);
                            t.episodeInteraction.run(EpisodeList, t.currentVid, __INFO__.pid)
                        }
                    }
                    "javascript:;" === $(this).attr("href") && t._stopDefault(e)
                }), this.$listContener.on("click", ".j_jujiGrid", function (e) {
                    if (!t.isH5 && "NOT_INIT" === LETV.PLYAER_STATE)return !1;
                    var i = $(this).attr("data-vid"), a = location.href, s = /vplay\/(\d{1,})/, o = s.exec(a)[1];
                    if ((t.currentVid != i || t.currentVid != o) && (t.barrageLogic.removeBarrage(), t.currentVid = i, window.history && window.history.pushState || (location.href = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + t.currentVid + ".html"), t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), "javascript:;" === $(this).attr("href") && t._stopDefault(e), 11 === __INFO__.cid || 2 === __INFO__.cid)) {
                        t.playListEvent.emit("episodeRemoveTab", "voteInteraction");
                        for (var n = 0, r = t.TabsJSON.length; r > n; n += 1)"voteInteraction" === t.TabsJSON[n].type && t.TabsJSON.splice(n, 1);
                        t.episodeInteraction.run(EpisodeList, t.currentVid, __INFO__.pid)
                    }
                }), this.$listContener.on("click", ".j_jujiKandian", function (e) {
                    var i = $(".j_jujiKandian"), a = $(this);
                    if (i.removeClass("cur"), a.addClass("cur"), 11 === t.INFO.cid) {
                        var s = a.attr("data-vid");
                        if (t.currentVid.toString() === s)return;
                        t.barrageLogic.removeBarrage(), t.playingVtype = "episode", t.currentVid = s, t.playListEvent.emit(t.playListEvent.PLAY_THIS, t.currentVid, "episodeList"), "javascript:;" === a.attr("href") && t._stopDefault(e)
                    } else {
                        var o = $(this).attr("data-playtime");
                        t.playListEvent.emit(t.playListEvent.SEEK_TO, o), t.watchingFocusObj.time = o
                    }
                })), t._getTheType(this.INFO.cid), (11 === __INFO__.cid || 2 === __INFO__.cid) && (t.episodeInteraction.run(t, __INFO__.vid, __INFO__.pid), t.playListEvent.on(t.playListEvent.PLAYER_PLAY_NEXT, function (e) {
                    for (var i = 0, a = $(".juji_tit li").length; a > i; i += 1)"voteInteraction" === $(".juji_tit li").eq(i).attr("data-type") && t.playListEvent.emit("episodeRemoveTab", "voteInteraction");
                    t.episodeInteraction.run(t, e.nextvid, __INFO__.pid)
                })), (10010273 == __INFO__.pid || 10010690 == __INFO__.pid) && require("bz/www_play/episodeList/episodeMarried").init(this), t.episodeType.goLongVideoLogic ? require("bz/www_play/episodeList/episodeListOfMovie").init(this) : t.episodeType.goShortVideoLogic && require("bz/www_play/episodeList/episodeListOfShortVideo").init(this)
            }, _addPadClickEvent: function (t, e) {
                var i = 0, a = 0, s = 0, o = 0, n = 0, r = 0, l = 0;
                this.$listContener.on("touchstart", "." + t, function (t) {
                    var e = t.originalEvent.changedTouches ? t.originalEvent.changedTouches[0] : t;
                    s = e.clientX, o = e.clientY, i = (new Date).getTime()
                }), this.$listContener.on("touchend", "." + t, function (t) {
                    var c = t.originalEvent.changedTouches ? t.originalEvent.changedTouches[0] : t;
                    n = c.clientX, r = c.clientY, a = (new Date).getTime(), l = Math.sqrt(Math.pow(n - s, 2) + Math.pow(r - o, 2)), 750 > a - i && 0 === l && e && e.apply(this)
                })
            }, _stopDefault: function (t) {
                t && t.preventDefault ? t.preventDefault() : window.event.returnValue = !1
            }, _getTheType: function (t) {
                var e = this.episodeType, i = this.VideoInfo, a = require("bz/www_play/isShortVideo");
                switch (e.shortVideoType = a.isShortVideo, e.shortVideoType && (e.goShortVideoLogic = !0), t) {
                    case 1:
                    case 5:
                    case 1021:
                        e.longVideoType = !0, e.goLongVideoLogic = !0;
                        break;
                    case 11:
                        e.longVideoType = !0, e.goShortVideoLogic = !0;
                        break;
                    case 2:
                    case 16:
                        e.longVideoType = !0
                }
                if (2 === t || 16 === t) {
                    var s = "1" == i.varietyShow;
                    s ? e.goShortVideoLogic = !0 : e.goLongVideoLogic = !0
                }
                34 === t && "1" !== i.varietyShow && (e.shortVideoType = !0, e.goLongVideoLogic = !0, this.childNotVarietyShow = !0), 1021 === t && (this.educatedNotVarietyShow = !0), i.pid || (e.goShortVideoLogic = !0, e.goLongVideoLogic = !1)
            }, responsePlayVideo: function (t) {
                var e = EpisodeList, i = __INFO__.video, a = i.trylook;
                e.playListEvent.emit("episodeRemoveTab", "goods");
                for (var s = 0, o = e.TabsJSON.length; o > s; s++)"goods" == e.TabsJSON[s].type && e.TabsJSON.splice(s, 1);
                if (e.tryLookValue !== a && 2 !== __INFO__.cid && location.reload(!0), e.albumPayPlatform !== __INFO__.video.hasOwnProperty("albumPayPlatform") && 2 === __INFO__.cid && location.reload(!0), t && "trylook" !== e.currentVtype) {
                    var n = t.vid;
                    n && (e.currentVid = n);
                    var r = e.positionItem({vid: e.currentVid, useAnimate: !0, stayHere: !0});
                    if (!r) {
                        var l = e.VideoInfo.pid, c = e.INFO.cid, d = !1;
                        if ("episode" === e.playingVtype) {
                            var p = (16 === c || 2 === c) && e.episodeType.goShortVideoLogic;
                            d = 11 === c || p
                        }
                        if ((e.episodeType.longVideoType || 9 === c) && !d) {
                            e.playingVtype && e.setActiveTab(e.playingVtype);
                            var h = e.positionItem({vid: e.currentVid, useAnimate: !1, stayHere: !0});
                            if (h)return;
                            var u = "episode" === e.playingVtype ? "POSITIVE" : "NON_POSITIVE", m = {
                                id: l,
                                cid: c,
                                vid: n,
                                platform: "pc"
                            };
                            (2 !== c || 11 !== c) && (m.eptype = u), 2 === c && (m.isvip = e.tvIsVIP ? 1 : 0), e.getVideos(m, function (t) {
                                var i = "";
                                11 === c ? (t = t.data, i = t.otherlist && t.otherlist.currentpage) : 2 === c ? (t = t.data, i = t.episode && t.episode.currentpage) : i = t.pageNo;
                                for (var a = 0; a < e.TabsJSON.length; a++)if (e.TabsJSON[a].type === e.playingVtype) {
                                    e.TabsJSON[a].monthBox && e.TabsJSON[a].monthBox.activeMonthCurrentPage(i);
                                    break
                                }
                            })
                        }
                        if ((e.episodeType.shortVideoType || d) && 9 !== c && e.playingVtype) {
                            e.setActiveTab(e.playingVtype);
                            var v = e.positionItem({vid: e.currentVid, useAnimate: !1, stayHere: !0});
                            if (v)return;
                            if ("episode" !== e.playingVtype) {
                                var f = e.positionItem({vid: e.currentVid, useAnimate: !1, stayHere: !0});
                                if (f)return;
                                return void e.getVideos({
                                    id: l,
                                    cid: c,
                                    platform: "pc",
                                    eptype: "NON_POSITIVE",
                                    vid: n
                                }, function (t) {
                                    for (var i = 0; i < e.TabsJSON.length; i++)if (e.TabsJSON[i].type === e.playingVtype) {
                                        e.TabsJSON[i].monthBox && e.TabsJSON[i].monthBox.activeMonthCurrentPage(t.pageNo);
                                        break
                                    }
                                })
                            }
                            e.getVideoMsg(n, function (t) {
                                if (t && t.releaseDate) {
                                    var i = t.releaseDate, a = parseInt(i.split("-")[0], 10), s = parseInt(i.split("-")[1], 10), o = $(".juji_monthBox").find("li.cur").attr("data-title") || "0000-0", n = parseInt(o.split("-")[0], 10), r = parseInt(o.split("-")[1], 10), l = a !== n, c = s !== r || l;
                                    e.TabsJSON.length > 0 && (l && e.TabsJSON[0].yearBox.activeYearCurrentPage(a), c && e.TabsJSON[0].monthBox.activeMonthCurrentPage(a + "-" + s))
                                }
                            })
                        }
                    }
                }
            }, changeFullscreen: function (t) {
                t && !t.flag && this.episodeListOpen()
            }, showRecommend: function () {
                this.episodeListOpen()
            }, playerVideoPause: function () {
                var t = this.tryLook && this.tryLook.isForbidden;
                t || this.episodeListOpen()
            }, responseVideoResize: function (t, e) {
                var i = EpisodeList, a = {hasMonthBox: !1, hasYearBox: !1, hasJujiBar: !1, hasGenboBar: !1};
                $(".juji_bar").length > 0 && "block" === $(".juji_bar").css("display") && (a.hasJujiBar = !0), $(".juji_monthBox").length > 0 && "block" === $(".juji_monthBox").css("display") && (a.hasMonthBox = !0), $(".juji_yearBox").length > 0 && "block" === $(".juji_yearBox").css("display") && (a.hasYearBox = !0), $(".j_genboBar").length > 0 && "block" === $(".j_genboBar").css("display") && (a.hasGenboBar = !0), i.resetListSize(a, t, e), i.setActiveTab(i.currentVtype, "list", !0), i.positionItem({
                    vid: i.currentVid,
                    fromSwitch: !0
                })
            }, responseVideoPlayBegin: function () {
                var t = EpisodeList, e = t.VideoInfo;
                if (1 === t.INFO.cid && e.pid) {
                    if ("related" === t.currentVtype)return;
                    "正片" === t.VideoInfo.videotypeName ? (t.userClickedTab || (t.currentVtype = "episode"), t.isTryLook || (t.fifteenTimer = null)) : t.userClickedTab || (t.TabsJSON.length > 1 ? t.currentVtype = "related" : t.currentVtype = "hotView"),
                    !t.userClickedTab && t.tryLook.shouldShowVipTab && (t.currentVtype = "trylook"), t.setActiveTab(t.currentVtype), t.positionItem({vid: t.currentVid})
                }
            }, activeWatchingPoint: function () {
                var t = EpisodeList;
                if (11 === t.INFO.cid || 16 === t.INFO.cid)for (var e = $(".j_watchingFocus"), i = 0; i < e.length; i++)t.currentVid == e.eq(i).attr("data-vid") && (e.eq(i).find(".juji_showList").removeClass("juji_showList_Gray"), t.watchingFocusObj.isActived = !0)
            }, episodeClipStr: function (t, e, i, a) {
                return this.byteLength(t) > e ? this.clip(t, i, a) : t
            }, episodeFormatTime: function (t) {
                var e = Math.floor(t / 60) >= 10 ? Math.floor(t / 60) : "0" + Math.floor(t / 60), i = t % 60 >= 10 ? t % 60 : "0" + t % 60, a = e + ":" + i;
                return a
            }, copyObjArray: function (t) {
                if (!t)return [];
                for (var e = [], i = 0; i < t.length; i++) {
                    var a = {};
                    for (var s in t[i])t[i].hasOwnProperty(s) && (a[s] = t[i][s]);
                    e.push(a)
                }
                return e
            }, getVideoIds: function (t) {
                for (var e = [], i = 0; i < t.length; i++) {
                    var a = t[i].vid || t[i].id;
                    e.push(a)
                }
                return e
            }, setViewCount: function (t, e, i) {
                t = t || [], e = e || [];
                for (var a = {}, s = 0; s < e.length; s++) {
                    var o = e[s] && e[s].id;
                    o && (a[o] = e[s])
                }
                for (var n = t.length; n-- > 0;) {
                    var o = t[n] && (t[n].vid || t[n].id);
                    o ? a[o] && (t[n].playedCount = a[o].play_count || 0) : t.splice(n, 1), $.extend(t[n], i)
                }
            }, getListHtml: function (t) {
                var e = t.videos, i = !!t.hasTitle, a = !!t.notLazyLoad, s = t.titleText || "", o = t.extraClass || "", n = t.dataFrom || "";
                if (!e || 0 === e.length)return "";
                var r = this;
                if (n === this.dataFrom.GridType) {
                    var l = '<div class="juji_grid"><ul>', c = this._getDefaultTpl(n), d = "</ul></div>", p = new Tpl(c, function (t, e) {
                        r.formatVideoItem(t, n || "", e)
                    });
                    return l + p.render(e) + d
                }
                var h = "", u = "", m = null;
                return i && (h = '<div class="juji_cntTit">' + s + "</div>"), u += this._getDefaultTpl(n || "", a), u += "</a>", u += "{clientWatchingFocus}", m = new Tpl(u, function (t, e) {
                    r.formatVideoItem(t, n || "", e, o || ""), t.clientOrder = e
                }), h + m.render(e)
            }, _getDefaultTpl: function (t, e) {
                var i = "", a = this.dataFrom, s = e ? "src" : "data-src";
                switch (t) {
                    case a.ReleaseDate:
                    case a.FristRelease:
                        i = '<a href="{url}" target="{target}" class="a_jujiTemp{cur}" title="{nameCnTitle}" data-vid="{vid}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}">{clientExtraHtml}{clientGetEpisodeDate}<p k-name="send-click-stat" data-click-stat="{clickStatStr}" ><span>{clipedNamCn}</span>{clipedSubtitle}{playedCount}</p>';
                        break;
                    case a.Music:
                        i += '<a href="{url}" target="_blank" class="a_jujiTemp{cur}" title="{nameCnTitle}" data-vid="{vid}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}">{clientGetDuration}<p k-name="send-click-stat" data-click-stat="{clickStatStr}"><span class="span1" title="{nameCnTitle}">{clipedTitle}</span>{clientGetSinger}</p>';
                        break;
                    case a.RecommendData:
                        i = '<a href="{url}" target="{target}" class="a_jujiTemp{cur}" title="{nameCnTitle}" data-vid="{id}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="rec-stat" data-info="{recInfo}" data-order="{clientOrder}">{clientExtraHtml}{clientGetDuration}<p k-name="rec-stat" data-info="{recInfo}" ><span>{clipedNamCn}</span>{clientGetSinger}{playedCount}</p>';
                        break;
                    case a.RelationAlbum:
                        i = '<a href="{url}" target="_blank" class="a_jujiTemp" title="{title}" data-vid="{vid}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}"><p k-name="send-click-stat" data-click-stat="{clickStatStr}" ><span class="span1">{clipedTitle}</span>{clientDirector}{clientStarring}</p>';
                        break;
                    case a.GridType:
                        i = '<li k-name="send-click-stat" data-click-stat="{clickStatStr}"><a href="javascript:;" class="j_jujiGrid" data-vid="{vid}" data-vtype="{clientVideoType}" title="{clientEpisodeTitle} {clientTitle}">{clientEpisode}{isVip}{preTips}</a></li>';
                        break;
                    case a.CurrentVideo:
                        i = '<a href="{url}" target="{target}" class="a_jujiTemp{cur}" title="{nameCnTitle}" data-vid="{id}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}">{clientExtraHtml}{clientGetDuration}<p k-name="send-click-stat" data-click-stat="{clickStatStr}" ><span>{clipedNamCn}</span>{clientGetSinger}{playedCount}</p>';
                        break;
                    case a.ZYPositive:
                        i = '<a href="{url}" target="{target}" class="a_jujiTemp{extraClass}{cur}" title="{nameCnTitle}" data-vid="{vid}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}">{clientExtraHtml}{clientGetEpisodeDate}<p k-name="send-click-stat" data-click-stat="{clickStatStr}" ><span>{clipedNamCn}</span>{clipedSubtitle}{playedCount}</p>';
                        break;
                    default:
                        i = '<a href="{url}" target="{target}" class="a_jujiTemp{cur}" title="{nameCnTitle}" data-vid="{id}" data-vtype="{clientVideoType}"><img ' + s + '="{pic}" k-name="send-click-stat" data-click-stat="{clickStatStr}" data-order="{clientOrder}">{clientExtraHtml}{clientGetDuration}<p k-name="send-click-stat" data-click-stat="{clickStatStr}" ><span>{clipedNamCn}</span>{clipedSubtitle}{playedCount}</p>'
                }
                return i
            }, formatVideoItem: function (t, e, i, a) {
                var s = EpisodeList, o = 40, n = 20;
                s.INFO.vid === t.id ? t.cur = " cur" : t.cur = "";
                var r = s.dataFrom;
                switch (e) {
                    case r.MMS:
                        s._formatMmsData(t, o, n);
                        break;
                    case r.ReleaseDate:
                        s._formatReleaseData(t, o, n);
                        break;
                    case r.RecommendData:
                        s._formatRecommendData(t, o, n, i);
                        break;
                    case r.CurrentVideo:
                        s._formatCurrentVideo(t, o, n);
                        break;
                    case r.FristRelease:
                        s._formatFirstReleaseData(t, o, n);
                        break;
                    case r.ZYPositive:
                        s._formatZYPositiveData(t, o, n, a);
                        break;
                    case r.Music:
                        s._formatMusicData(t, o, n);
                        break;
                    case r.RelationAlbum:
                        s._formatRelationAlbum(t);
                        break;
                    case r.GridType:
                        s._formatGridTypeVideos(t);
                        break;
                    default:
                        t.video ? s._formatVideoData(t, o, n) : t.album ? s._formatAlbumData(t, o, n) : t.pic1 ? s._formatCMSData(t, o, n) : s._formatMmsData(t, o, n)
                }
                if ("" !== t.clientVideoType ? (t.url = "javascript:;", t.target = "_self") : t.target = "_blank", t.playedCount) {
                    if (parseInt(t.playedCount, 10)) {
                        var l = s.formatPlayCount(t.playedCount);
                        t.playedCount = '<i class="i_playNum"><b class="ico_juji_rarr"><b class="arrow arrow_b"></b><b class="arrow arrow_a"></b></b>' + l + "</i>"
                    }
                } else t.playedCount = "";
                t.clientExtraHtml || (t.clientExtraHtml = "")
            }, _formatRecommendData: function (t, e, i, a) {
                var s = this.episodeRecommend;
                if (t.pic = t.picurl || this.episodeDefaultImg, t.clipedNamCn = this.episodeClipStr(t.title, e, e - 3, "..."), t.nameCn = t.title, t.nameCnTitle = t.title, t.clipedSubtitle = "", t.clientGetDuration = '<em class="em02">' + this.episodeFormatTime(t.duration) + "</em>", t.id = t.vid, t.clientGetSinger = "", 9 === this.INFO.cid) {
                    var o = [], n = "", r = "";
                    t.starring && (o = t.starring.split(","), n = this.episodeClipStr(o.join("，"), i, i - 3, "..."), r = o.join("，"), t.clientGetSinger = '<span class="span2" title="' + r + '">' + n + "</span>", t.playedCount = "")
                }
                1009 === this.INFO.cid && s.moren ? t.recInfo = "{cid:'" + t.cid + "',pid:'" + t.pid + "',vid:'" + t.vid + "',reid:'" + s.reid + "',bucket:'" + s.bucket + "','area':'" + s.area + "',rank:'" + (a + 1) + "','ap':'moren=" + s.moren + "'}" : t.recInfo = "{cid:'" + t.cid + "',pid:'" + t.pid + "',vid:'" + t.vid + "',reid:'" + s.reid + "',bucket:'" + s.bucket + "','area':'" + s.area + "',rank:'" + (a + 1) + "'}", this.getWatchingFocus(t)
            }, _formatCurrentVideo: function (t, e, i) {
                if (t.pic = t.videoPic || t.poster || t.pPic || this.episodeDefaultImg, t.clipedNamCn = this.episodeClipStr(t.title, e, e - 3, "..."), t.nameCn = t.title, t.nameCnTitle = t.title, t.clipedSubtitle = "", t.clientGetDuration = '<em class="em02">' + this.hmsToms(t.duration) + "</em>", t.id = t.vid, t.clientGetSinger = "", 9 === this.INFO.cid) {
                    var a = "", s = "";
                    if (__INFO__.video && __INFO__.video.singer) {
                        var o = __INFO__.video.singer;
                        a = this.episodeClipStr(o, i, i - 3, "..."), s = o, t.clientGetSinger = '<span class="span2" title="' + s + '">' + a + "</span>", t.playedCount = ""
                    }
                }
                this.getWatchingFocus(t)
            }, _formatCMSData: function (t, e, i) {
                t.pic = t.pic1 || this.episodeDefaultImg, t.clipedNamCn = this.episodeClipStr(t.title, e, e - 3, "..."), t.nameCn = t.title, t.nameCnTitle = t.title, t.clipedSubtitle = '<span class="span2" title="' + t.subTitle + '">' + this.episodeClipStr(t.subTitle, i, i - 3, "...") + "</span>", t.clientGetDuration = "", this.getWatchingFocus(t)
            }, _formatVideoData: function (t, e, i) {
                var a = this.episodeDefaultImg;
                t.video.picAll ? t.pic = t.video.picAll["320*200"] || t.video.picAll["200*150"] || t.video.picAll["120*90"] || a : t.pic = a, t.clipedNamCn = this.episodeClipStr(t.video.nameCn, e, e - 3, "..."), t.nameCn = t.video.nameCn, t.nameCnTitle = t.video.nameCn, t.clipedSubtitle = '<span class="span2" title="' + t.video.subTitle + '">' + this.episodeClipStr(t.video.subTitle, i, i - 3, "...") + "</span>", t.clientGetDuration = '<em class="em02">' + this.episodeFormatTime(t.video.duration) + "</em>", t.url = "http://www.76938905-1ptv/vplay/" + t.video.id + ".html", this.getWatchingFocus(t)
            }, _formatAlbumData: function (t, e, i) {
                var a = this.episodeDefaultImg;
                t.pic = t.album.picCollections["320*200"] || t.album.picCollections["400*300"] || t.album.picCollections["200*150"] || a, t.clipedNamCn = this.episodeClipStr(t.album.nameCn, e, e - 3, "..."), t.nameCn = t.album.nameCn, t.nameCnTitle = t.album.nameCn, t.clipedSubtitle = '<span class="span2" title="' + t.album.subTitle + '">' + this.episodeClipStr(t.album.subTitle, i, i - 3, "...") + "</span>", t.clientGetDuration = "", this.getWatchingFocus(t)
            }, _formatMmsData: function (t, e, i) {
                var a = this, s = a.INFO.cid, o = this.formatEpisodeDate(t.episode);
                t.pic = t.pic || this.episodeDefaultImg, t.clipedNamCn = this.episodeClipStr(t.title, e, e - 3, "..."), t.nameCn = t.title, t.nameCnTitle = t.episode ? o + " " + t.nameCn : t.nameCn, t.clipedSubtitle = "", 1021 === s ? t.clientGetDuration = '<em class="em02">第' + t.episode + "集</em>" : t.clientGetDuration = '<em class="em02">' + this.hmsToms(t.duration) + "</em>", t.id = t.vid, this.getWatchingFocus(t)
            }, _formatFirstReleaseData: function (t, e, i) {
                var a = EpisodeList, s = "";
                s = 2 === a.INFO.cid ? t.releaseDate.slice(0, 10) : this.formatEpisodeDate(t.episode), t.pic = t.pic || a.episodeDefaultImg;
                var o = "";
                o = 11 === a.INFO.cid ? t.subTitle || t.title : 2 === a.INFO.cid ? "第" + t.episode + "期 " + (t.subTitle || "") : t.title, t.clipedNamCn = this.episodeClipStr(o, e, e - 3, "..."), t.nameCn = o, t.nameCnTitle = t.episode ? s + " " + t.nameCn : t.nameCn, t.clipedSubtitle = "", s ? t.clientGetEpisodeDate = '<em class="em02">' + s + "</em>" : t.clientGetEpisodeDate = "", t.id = t.vid, this.getWatchingFocus(t)
            }, _formatZYPositiveData: function (t, e, i, a) {
                var s = EpisodeList, o = this.formatEpisodeDate(t.episode) || "", n = t.subTitle || t.title || "";
                t.extraClass = " " + a || "", t.pic = t.pic || s.episodeDefaultImg, t.clipedNamCn = this.episodeClipStr(n, e, e - 3, "..."), t.nameCn = n, t.nameCnTitle = t.episode ? o + " " + t.nameCn : t.nameCn, t.clientGetEpisodeDate = o ? '<em class="em02">' + o + "</em>" : "", t.clipedSubtitle = "", t.id = t.vid, this.getWatchingFocus(t)
            }, _formatMusicData: function (t, e, i) {
                t.pic = t.pic || this.episodeDefaultImg, t.clipedTitle = this.episodeClipStr(t.title, e, e - 3, "..."), t.nameCn = t.title, t.nameCnTitle = t.title, t.clipedSubtitle = "", t.clientGetDuration = '<em class="em02">' + this.hmsToms(t.duration) + "</em>";
                var a = [], s = "", o = "";
                if (t.singer && t.singer.length > 0) {
                    for (var n in t.singer)t.singer.hasOwnProperty(n) && t.singer[n] && a.push(t.singer[n]);
                    s = this.episodeClipStr(a.join("，"), i, i - 3, "..."), o = a.join("，"), t.clientGetSinger = '<span class="span2" title="' + o + '">' + s + "</span>"
                } else t.clientGetSinger = "";
                this.getWatchingFocus(t)
            }, _formatReleaseData: function (t, e, i) {
                var a, s = EpisodeList;
                a = 2 === s.INFO.cid ? t.releaseDate.slice(0, 10) : this.formatEpisodeDate(t.episode);
                var o = this.episodeDefaultImg;
                t.picAll ? t.pic = t.picAll["320*200"] || t.picAll["200*150"] || t.picAll["120*90"] || o : t.pic = t.pic || o;
                var n = "";
                n = 11 === s.INFO.cid ? t.subTitle || t.nameCn : 2 === s.INFO.cid ? "第" + t.episode + "期 " + (t.subTitle || "") : t.nameCn, t.clipedNamCn = this.episodeClipStr(n, e, e - 3, "..."), t.nameCn = n, t.nameCnTitle = t.episode ? a + " " + n : n, t.clipedSubtitle = "", a ? t.clientGetEpisodeDate = '<em class="em02">' + a + "</em>" : t.clientGetEpisodeDate = "", t.url = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + t.id + ".html", this.getWatchingFocus(t)
            }, _formatRelationAlbum: function (t) {
                var e = 21, i = 17, a = 17, s = this;
                t.pic = t.pic || this.episodeDefaultImg, t.clipedTitle = this.episodeClipStr(t.title, e, e - 3, "...");
                var o = [];
                if (t.director) {
                    for (var n in t.director)t.director.hasOwnProperty(n) && t.director[n] && o.push(t.director[n]);
                    if (o.length > 0) {
                        var r = this.episodeClipStr(o[0], i, i - 3, "..."), l = o[0];
                        t.clientDirector = '<span class="span2" title="导演：' + l + '">导演：' + r + "</span>"
                    } else t.clientDirector = ""
                } else t.clientDirector = "";
                var c = [];
                if (t.starring) {
                    for (var d in t.starring)t.starring.hasOwnProperty(d) && t.starring[d] && c.push(t.starring[d]);
                    if (c.length > 0) {
                        var p = this.episodeClipStr(c.join("，"), a, a - 3, "..."), h = c.join("，");
                        11 === s.INFO.cid ? t.clientStarring = '<span class="span2" title="嘉宾：' + h + '">嘉宾：' + p + "</span>" : t.clientStarring = '<span class="span2" title="主演：' + h + '">主演：' + p + "</span>"
                    } else t.clientStarring = ""
                } else t.clientStarring = "";
                this.getWatchingFocus(t)
            }, _formatGridTypeVideos: function (t) {
                t.preTips = "", t.isVip = "", t.clientTitle = t.subTitle;
                var e = t.episode ? t.episode : "", i = /^[0-9]+(.[0-9]{1})?$/;
                i.test(e) ? (parseInt(e, 10) < 10 && -1 === e.indexOf(".") ? t.clientEpisode = "0" + parseInt(e, 10) : t.clientEpisode = e, t.clientEpisodeTitle = "第" + t.clientEpisode + "集") : t.clientEpisodeTitle = t.clientEpisode = e, 1 === t.isFirstLook && (t.preTips = '<i class="ico_pre ico_firstLook">抢先看</i>', t.clientTitle = "抢先看"), "180002" == t.videoType && (t.preTips = '<i class="ico_pre">预</i>', t.clientTitle = "预告"), "180002" !== t.videoType && 141001 === t.payPlatforms[0] && (t.isVip = '<i class="juji_vip_ico"></i>'), "180002" != t.videoType && 1 === t.ispay && (t.isVip = '<i class="juji_vip_ico"></i>')
            }, getWatchingFocus: function (t) {
                var e = this, i = 34, a = null, s = null;
                if (11 === e.INFO.cid) {
                    var o = t.vid, n = "", r = "", l = "", c = "", d = "", p = EpisodeList.dataMapping;
                    t.clientWatchingFocus = "";
                    for (var h in p)p[h] && o in p[h] && p[h][o].length > 0 ? (a = t.subTitle || "", s = e.episodeClipStr("完整版  " + a, i, i - 3, "..."), n = p[h][o], n.length > 30 && (n = n.slice(0, 30)), r = '<div class="juji_monthCntList j_watchingFocus" data-vid="' + t.vid + '"><div><ul class="juji_showList juji_showList_Gray">', r += '<li class="j_jujiKandian cur" data-playtime="0" data-vid="' + t.vid + '" title="' + a + '"><i class="ico_arrow_larr"></i><a href="javascript:;">' + s + "</a> </li>", l = '<li class="j_jujiKandian" data-vtype="episode"  data-vid="{fragmentId}" title="{subTitleClip}"><i class="ico_arrow_larr"></i><a href="javascript:;">{subTitleClip}</a></li>', c = '</ul></div><div class="ico_juji_tarr"><span class="arrow arrow_a"></span></div></div>', d = new Tpl(l, function (t) {
                        t.subTitleClip = e.episodeClipStr(t.subTitle, i, i - 3, "..."), t.fragmentId = t.fragmentId
                    }), t.clientWatchingFocus = r + d.render(p[h][o]) + c) : "0-0" === h && p[h] && o in p[h] && p[h][o].length > 0 && (a = t.subTitle || "", s = e.episodeClipStr("完整版  " + a, i, i - 3, "..."), n = p[h][o], n.length > 30 && (n = n.slice(0, 30)), r = '<div class="juji_monthCntList j_watchingFocus" data-vid="' + t.vid + '"><div><ul class="juji_showList juji_showList_Gray">', r += '<li class="j_jujiKandian cur" data-playtime="0" data-vid="' + t.vid + '" title="' + a + '"><i class="ico_arrow_larr"></i><a href="javascript:;">' + s + "</a> </li>", l = '<li class="j_jujiKandian" data-vtype="episode" data-vid="{fragmentId}" title="{subTitleClip}"><i class="ico_arrow_larr"></i><a href="javascript:;">{subTitleClip}</a></li>', c = '</ul></div><div class="ico_juji_tarr"><span class="arrow arrow_a"></span></div></div>', d = new Tpl(l, function (t) {
                        t.subTitleClip = e.episodeClipStr(t.subTitle, i, i - 3, "..."), t.fragmentId = t.fragmentId
                    }), t.clientWatchingFocus = r + d.render(p[h][o]) + c)
                } else if (2 === e.INFO.cid)t.clientWatchingFocus = ""; else if (a = t.subTitle || "", s = e.episodeClipStr("完整版  " + a, i, i - 3, "..."), t.clientWatchingFocus = "", t.watchingFocus && t.watchingFocus.length > 0) {
                    var u = '<div class="juji_monthCntList j_watchingFocus" data-vid="' + t.id + '"><div><ul class="juji_showList juji_showList_Gray">';
                    u += '<li class="j_jujiKandian cur" data-playtime="0" title="' + a + '"><i class="ico_arrow_larr"></i><a href="javascript:;">' + s + "</a> </li>";
                    var m = '<li class="j_jujiKandian" data-playtime="{seekToTime}" title="{desc}"><i class="ico_arrow_larr"></i><a href="javascript:;">{time}  {descCliped}</a></li>', v = '</ul></div><div class="ico_juji_tarr"><span class="arrow arrow_a"></span></div></div>', f = new Tpl(m, function (t) {
                        t.time = e.hmsToms(t.time), t.descCliped = e.episodeClipStr(t.desc, i, i - 3, "..."), t.seekToTime = e.timeToSeconds(t.time)
                    });
                    t.clientWatchingFocus = u + f.render(t.watchingFocus) + v
                }
            }, resetListSize: function (t, e, i) {
                this.$listContener.height(i || this.$videoContener.height()), $(".ico_fold").height(i || this.$videoContener.height());
                var a = this.$listContener.find(".juji_titBox").outerHeight(!0), s = this.$listContener.find(".juji_cntBox"), o = this.$listContener.find(".rollbar"), n = this.$listContener.height();
                t && t.hasJujiBar && (n -= 24), t && t.hasMonthBox && (n -= 37), t && t.hasYearBox && (n -= 33), t && t.hasGenboBar && (n -= t.hasJujiBar ? 14 : 20), t && t.hasZYPositive && (n -= t.hasUpDownPositive ? 103 : 70), t && t.hasTvVipBar && (n -= t.showVipTextTip ? 110 : 80), n -= a, s.height(n - 20), o.height(n - 20)
            }, loadImg: function (t, e) {
                t = t ? t : $(".juji_cnt");
                var i = 80, a = Math.abs(Math.ceil(t.position().top / i)), s = Math.ceil(e.height() / i), o = a - s, n = 0 > o ? 0 : o, r = a + 2 * s;
                t.find("img[data-src]").each(function () {
                    var t = $(this), e = t.attr("data-order");
                    e >= r || n > e || $("<img />").bind("load", function () {
                        t.attr("src", t.attr("data-src"))
                    }).attr("src", t.attr("data-src"))
                })
            }, initDragArea: function () {
                var t = this, e = this.currentOptions, i = $(e.sliderArea), a = $(e.silderOut), s = $(e.dragArea), o = $(e.dragbar), n = i.height() - a.height();
                0 >= n ? s.hide() : s.show(), this.episodeDragBar && this.episodeDragBar.removeEvents();
                var r = require("air/ui/yDragBar");
                this.episodeDragBar = new r({
                    $dragBar: o,
                    $cont: a,
                    $list: i,
                    stepLen: 30,
                    contHeight: a.height(),
                    listHeight: i.height(),
                    onDrag: function () {
                        t.loadImg(i, a)
                    }
                })
            }, initPadDragArea: function () {
                var t = this, e = this.currentOptions, i = $(e.sliderArea), a = $(e.silderOut), s = $(e.dragArea);
                s.hide(), t.myiScroll ? t.myiScroll.refresh() : (t.myiScroll = t.initIScroll(a[0], {
                    scrollbars: !1,
                    disablePointer: !0,
                    disableMouse: !0,
                    disableTouch: !0,
                    momentum: !1
                }), t.myiScroll.on("scrollEnd", function () {
                    t.loadImg(i, a)
                }))
            }, positionItem: function (t) {
                var e = t.vid, i = !!t.useAnimate, a = !!t.stayHere, s = !!t.fromSwitch, o = this, n = o.positionGrid(o.currentVid, i, a);
                if (n)return !0;
                var r = this.currentOptions, l = $(r.sliderArea), c = $(r.silderOut), d = $(r.dragArea), p = $(r.dragbar), h = d.height() / l.height(), u = l.height() - c.height(), m = 0, v = 0, f = !1;
                if (l.show(), e) {
                    var _ = l.children(), g = $(".le_jujiCnt").find("a.cur"), y = $(".j_jujiKandian"), b = 0, w = y.length;
                    g.removeClass("cur"), g.hasClass("has_album") && g.removeClass("has_album");
                    var T = $(".juji_positive > a.latest");
                    11 === o.INFO.cid && T && T.length && _.push(T[0]);
                    for (var C = 0, k = _.length; k > C; C++) {
                        var S = _.eq(C);
                        if (!S.hasClass("j_watchingFocus")) {
                            if (S.attr("data-vid") === e.toString()) {
                                "" !== S.attr("data-vtype") && S.addClass("cur"), S.find(".p_album") && S.find(".p_album").length > 0 && S.addClass("has_album"), o.playingVtype = S.attr("data-vtype"), f = !0, s ? o.positionWatchingFocus(e, !1) : o.positionWatchingFocus(e, !0);
                                break
                            }
                            o.positionEpisode(e), v = S.outerHeight(!0), m += S.outerHeight(!0)
                        }
                    }
                    for (; w > b; b += 1)y.eq(b).attr("data-vid") === e.toString() && 0 !== +y.eq(b).attr("data-playtime") && (f = !0, m = c.height(), v = $(".juji_show").height());
                    T && T.length && T.hasClass("cur") && (m = 0, v = 0)
                }
                if (!f && a)return o.loadImg(l, c), f;
                var x = m - v;
                if (x > u && (x = u), f || (x = 0), 0 >= u && (x = 0), $.browser.iPad || $.browser.andorid)o.initPadDragArea(), o.myiScroll.scrollTo(0, -1 * x); else {
                    if (o.initDragArea(), x = m - v, h = d.height() / l.height(), u = l.height() - c.height(), x > u && (x = u), f || (x = 0), 0 >= u && (x = 0), "none" === d.css("display"))return l.css({top: -1 * x}), p.css({top: h * x}), o.loadImg(l, c), f;
                    o.episodeDragBar.moveTo(-1 * x, !i)
                }
                return o.loadImg(l, c), f
            }, positionGrid: function (t, e, i) {
                var a = this, s = this.currentOptions, o = $(s.sliderArea), n = $(s.silderOut), r = $(s.dragArea), l = $(s.dragbar), c = r.height() / o.height(), d = o.height() - n.height(), p = 59, h = !1;
                if ($(".juji_grid").length > 0 && "none" !== $(".juji_grid").css("display")) {
                    for (var u = $(".juji_grid").find("a"), m = {isContinue: !0, count: 0}, v = 0; v < u.length; v++) {
                        m.isContinue && m.count++;
                        var f = u.eq(v);
                        if (f.attr("data-vid") == t) {
                            var _ = o.find("a.cur");
                            _.removeClass("cur"), f.addClass("cur"), a.playingVtype = f.attr("data-vtype"), m.isContinue = !1, h = !0
                        } else u.eq(v).removeClass("cur")
                    }
                    if (!h && i)return h;
                    var g = 0;
                    if (m.count > 4 && (g = Math.ceil(m.count / 4 - 2) * p), g > d && (g = d), h || (g = 0), 0 >= d && (g = 0), $.browser.iPad || $.browser.andorid)this.initPadDragArea(), this.myiScroll.scrollTo(0, -1 * g); else {
                        if (this.initDragArea(), "none" === r.css("display"))return o.css({top: -1 * g}), l.css({top: c * g}), h;
                        this.episodeDragBar.moveTo(-1 * g, !e)
                    }
                }
                return h
            }, positionWatchingFocus: function (t, e) {
                var i = $(".j_watchingFocus"), a = i.length, s = this;
                if (0 !== a) {
                    if (11 === s.INFO.cid) {
                        for (var o = EpisodeList.dataMapping, n = $(".j-monthCntShown"), r = "", l = 0, c = n.length; c > l; l += 1)if (n.eq(l).hasClass("cur") && (r = n.eq(l).attr("data-title"), r in o && !(t in o[r])))return !1;
                        n.on("click", function () {
                            var e = $(this), i = e.attr("data-title");
                            return i in o && !(t in o[i]) ? !1 : void 0
                        })
                    }
                    for (var d = 0; a > d; d++) {
                        var p = i.eq(d).find(".juji_showList");
                        if (i.eq(d).attr("data-vid") === t.toString()) {
                            this.watchingFocusObj.vid = t, i.eq(d).addClass("juji_show");
                            var h = i.eq(d).find(".j_jujiKandian");
                            if (h.removeClass("cur"), e)h.eq(0).addClass("cur"), this.watchingFocusObj.isActived = !1, p.addClass("juji_showList_Gray"); else {
                                this.watchingFocusObj.isActived && p.removeClass("juji_showList_Gray");
                                for (var u = !1, m = 0; m < h.length; m++)h.eq(m).attr("data-playtime") == this.watchingFocusObj.time && (h.eq(m).addClass("cur"), u = !0);
                                u || h.eq(0).addClass("cur")
                            }
                        } else i.eq(d).removeClass("juji_show"), p.addClass("juji_showList_Gray")
                    }
                }
            }, positionEpisode: function (t) {
                var e = this, i = $(".j-monthCntShown"), a = i.length, s = "", o = 0, n = EpisodeList.map, r = EpisodeList.dataMapping;
                if (r)for (; a > o; o += 1)if (s = i.eq(o).attr("data-title"), s in r) {
                    if (!(t in r[s])) {
                        var l = r[s];
                        e._handleStatus(t, l)
                    }
                } else {
                    n.fragment && n.fragment[1] === t && (t = n.fragment[1]);
                    for (var c = $(".j_jujiKandian"), d = 0, p = 0, h = c.length; h > p; p += 1) {
                        var u = c.eq(p).attr("data-vid");
                        t === +u && (c.removeClass("cur"), c.eq(p).addClass("cur"), c.eq(p).parents(".juji_monthCntList").addClass("juji_show"))
                    }
                    for (; h > d; d += 1)if (c.eq(d).hasClass("cur") && +c.eq(d + 1).attr("data-vid") == t) {
                        c.removeClass("cur"), c.eq(d + 1).addClass("cur");
                        break
                    }
                }
            }, _handleStatus: function (t, e) {
                var i = $(".j_watchingFocus"), a = $(".j_jujiKandian"), s = i.length, o = a.length;
                if (!(t in e)) {
                    var n = 0, r = 0, l = null, c = null, d = null;
                    for (a.removeClass("cur"); o > n; n += 1)a.eq(n).attr("data-vid") === t.toString() && (a.eq(n).addClass("cur"), c = a.eq(n).attr("data-vid"));
                    for (l in e)for (var p = 0; p < e[l].length; p += 1)t == e[l][p].fragmentId && (d = l);
                    for (; s > r; r += 1)if (d == i.eq(r).attr("data-vid")) {
                        i.eq(r).addClass("juji_show");
                        break
                    }
                }
            }, initListBtn: function () {
                var t = this;
                $(".ico_fold").hasClass("ico_unfold") || $(".ico_fold").attr("title", "收起列表"), this.$listContener.on("click", ".ico_fold", function () {
                    t.toggleList(t.$playArea)
                }), this.$listContener.on("mouseover", ".ico_fold", function () {
                    $(this).addClass("nwhover")
                }), this.$listContener.on("mouseout", ".ico_fold", function () {
                    $(this).removeClass("nwhover")
                })
            }, toggleList: function (t) {
                var e = this;
                t.hasClass("le_playOpen") ? (e.episodeListClose(), Stats.sendAction({
                    acode: "0",
                    ap: e.foldClickStat.closeStat
                })) : (e.episodeListOpen(), Stats.sendAction({acode: "0", ap: e.foldClickStat.openStat}))
            }, episodeListClose: function () {
                var t = EpisodeList, e = $(".ico_fold"), i = t.$listContener.width() - e.width();
                t.$playArea.hasClass("le_playOpen") && t.$videoContener.animate({width: t.$videoContener.width() + i}, {
                    duration: "2000",
                    complete: function () {
                        t.playListEvent.emit(t.playListEvent.PLAYLIST_FOLD, !0), t.$playArea.removeClass("le_playOpen"), e.addClass("ico_unfold"), e.attr("title", "展开列表")
                    }
                })
            }, episodeListOpen: function () {
                var t = EpisodeList, e = $(".ico_fold"), i = t.$listContener.width() - e.width();
                t.$playArea.hasClass("le_playOpen") || t.$videoContener.animate({width: t.$videoContener.width() - i}, {
                    duration: "2000",
                    complete: function () {
                        t.playListEvent.emit(t.playListEvent.PLAYLIST_FOLD, !1), t.$playArea.addClass("le_playOpen"), e.removeClass("ico_unfold"), e.attr("title", "收起列表")
                    }
                })
            }, initTabs: function () {
                var t = this, e = this.$titleCon, i = this.TabsJSON;
                e.html("");
                var a = "", s = i.length;
                switch (e.removeClass("one").removeClass("two").removeClass("thr").removeClass("four"), s) {
                    case 1:
                        e.addClass("one");
                        break;
                    case 2:
                        e.addClass("two");
                        break;
                    case 3:
                        e.addClass("thr");
                        break;
                    case 4:
                        e.addClass("four")
                }
                for (var o = 0; s > o; o++)a += '<li class="' + i[o].type + '" data-type="' + i[o].type + '" k-name="send-click-stat" data-click-stat="' + i[o].tabClickStatStr + '"><span>' + i[o].title + "</span></li>";
                e.html(a), e.on("click", "li", function () {
                    var e = $(this).attr("data-type"), i = t.setActiveTab(e);
                    i && (t.userClickedTab = !0), t.positionItem({
                        vid: t.currentVid,
                        fromSwitch: !0
                    }), t.playListEvent.emit("tabCallbackForAd", "click", e)
                }), $(".juji_tit").hasClass("one") && t.setActiveTab($(".juji_tit li").eq(0).attr("data-type")), setTimeout(function () {
                    t.initTabExploseStat(i)
                }, 0)
            }, formatTime: function (t) {
                var e = Math.floor(t / 60);
                e = 10 > e ? "0" + e : e.toString();
                var i = Math.floor(t % 60);
                return i = 10 > i ? "0" + i : i.toString(), [e, "分", i, "秒"].join("")
            }, fnScanBuy: function (res) {
                if (res) {
                    var goodsTabClickStat = this.clickStatConfig, goodsVid = __INFO__ && __INFO__.vid, goodsPid = __INFO__ && __INFO__.pid;
                    __INFO__ && (goodsTabClickStat = this.clickStatConfig.goodsTab + "&goodsVid=" + goodsVid + "&goodsPid=" + goodsPid);
                    for (var scanBuyObj = {
                        type: "goods",
                        title: "商品",
                        tabClickStatStr: goodsTabClickStat
                    }, goodsHtml = "", goodsArray = res && res.vast && res.vast.Ad, i = 0; i < goodsArray.length; i++) {
                        var Tracking = res && res.vast && res.vast.Ad[i] && res.vast.Ad[i].InLine && res.vast.Ad[i].InLine.Creatives && res.vast.Ad[i].InLine.Creatives.Creative[0] && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds.TrackingEvents && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds.TrackingEvents.Tracking[0] && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds.TrackingEvents.Tracking, goodsUrl = "";
                        Tracking && $.each(Tracking, function (t, e) {
                            "buycart_btn-click" == e.event && (goodsUrl = e.cdata)
                        });
                        var adParameters = res && res.vast && res.vast.Ad[i] && res.vast.Ad[i].InLine && res.vast.Ad[i].InLine.Creatives && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds && res.vast.Ad[i].InLine.Creatives.Creative[0].NonLinearAds.AdParameters, goodsInfo = eval("(" + adParameters + ")"), goodsId = goodsInfo && goodsInfo.goods_id, goodsDetail = goodsInfo && goodsInfo.goods_intro, goodsDetailStr = this.clip(goodsDetail, 30), goodsImgReport = "ch=www&pg=play_v1&bk=goodsImg&link=img&goodsId=" + goodsId + "&goodsVid=" + goodsVid + "&goodsPid=" + goodsPid, showTime = res && res.vast && res.vast.Ad[i] && res.vast.Ad[i].offset, orderItemId = res && res.vast && res.vast.Ad[i] && res.vast.Ad[i].orderitem_id, goodsTime = showTime ? this.formatTime(showTime) : "", goodsData = {
                            goodsId: goodsId,
                            goodsTime: goodsTime,
                            goodsTitle: goodsInfo && goodsInfo.goods_title,
                            datailUrl: goodsInfo && goodsInfo.detail_url,
                            goodsImgUrl: goodsInfo && goodsInfo.goods_details[0] && goodsInfo.goods_details[0].data || "http://i0.letvimg.com/lc07_iscms/201607/13/18/17/c7ed7adec94942da9e7568b2436ddec0.png",
                            goodsImgReport: goodsImgReport,
                            goodsDetail: goodsDetailStr,
                            goodsBtnType: "buycart_btn",
                            orderItemId: orderItemId,
                            goodsUrl: goodsUrl,
                            showTime: showTime,
                            presentPrice: goodsInfo && goodsInfo.goods_price_now,
                            originalPrice: goodsInfo && goodsInfo.goods_price_raw
                        }, typeV = goodsInfo && goodsInfo.shopping_style;
                        1 == typeV ? (goodsData.btnClass = "buy_btn", goodsData.btnText = "加入购物车", goodsData.buyReport = "ch=www&pg=play_v1&bk=goodsBuy&link=btn&goodsId=" + goodsId + "&goodsVid=" + goodsVid + "&goodsPid=" + goodsPid) : 2 == typeV ? (goodsData.btnClass = "subscribe_btn", goodsData.btnText = "立即预约", goodsData.buyReport = "ch=www&pg=play_v1&bk=goodsOrder&link=btn&goodsId=" + goodsId + "&goodsVid=" + goodsVid + "&goodsPid=" + goodsPid) : 3 == typeV && (goodsData.btnClass = "details_btn", goodsData.btnText = "查看详情", goodsData.buyReport = "ch=www&pg=play_v1&bk=goodsDetail&link=btn&goodsId=" + goodsId + "&goodsVid=" + goodsVid + "&goodsPid=" + goodsPid);
                        var goodsTpl = '<dl class="goods_list" goods_id="{goodsId}"><dt class="d_time" showtime="{showTime}"><i></i><em>{goodsTime}</em></dt><dd class="d_con"><div class="goodsbox" orderitem_id = "{orderItemId}"><p class="goods_title">{goodsTitle}</p><a class="goods_img" detail_url="{datailUrl}" k-name="send-click-stat" data-click-stat="{goodsImgReport}"><img src="{goodsImgUrl}"></a><p class="goods_info">{goodsDetail}</p><div class="price_box"><div class="goods_price"><span class="present_price">{presentPrice}</span><span class="original_price">{originalPrice}</span></div><div class="goods_btn"><a class="{btnClass}" btn_type="{goodsBtnType}" href="javascript:;" k-name="send-click-stat" data-click-stat="{buyReport}"><i></i>{btnText}</a></div></div></div></dd></dl>', Tpl = require("air/util/tpl"), goodsTpls = new Tpl(goodsTpl);
                        goodsHtml += goodsTpls.render(goodsData)
                    }
                    scanBuyObj.html = goodsHtml, this.playListEvent.emit("episodeAddTab", scanBuyObj)
                }
            }, episodeAddTab: function (t) {
                var e = this;
                e.INFO.video.trylook;
                if ($(".juji_titBox li").length >= 4)return !1;
                if (_lastTmpTab = $(".juji_titBox li").attr("data-type"), !this.episodeInited)return !1;
                var i = this.$titleCon, a = i.children().length;
                if (!t)return void this.episodeRemoveTab("interaction");
                if ("voteInteraction" === t.type || "goods" === t.type)for (var s = 0, o = e.TabsJSON.length; o > s; s++)if (e.TabsJSON[s].type === t.type) {
                    e.TabsJSON[s].splice(s, 1);
                    break
                }
                var n = {
                    title: t.name || t.title,
                    type: t.type,
                    html: t.html,
                    tabClickStatStr: t.tabClickStatStr || ""
                };
                if (this.tabAdded)for (var r = 0, l = this.TabsJSON.length; l > r; r++) {
                    var c = this.TabsJSON[r].type;
                    if ("interaction" == c)return void(this.TabsJSON[r] = n);
                    "voteInteraction" !== c && "goods" !== c && this.TabsJSON.push(n)
                } else this.TabsJSON.push(n);
                switch (this.tabAdded = !0, a) {
                    case 1:
                        i.removeClass("one").addClass("two");
                        break;
                    case 2:
                        i.removeClass("two").addClass("thr");
                        break;
                    case 3:
                        i.removeClass("thr").addClass("four")
                }
                $('<li data-type="' + t.type + '" k-name="send-click-stat" data-click-stat="' + t.tabClickStatStr + '"><span>' + t.title + "</span></li>").appendTo(i)
            }, episodeRemoveTab: function (t) {
                for (var e = this.$titleCon, i = e.children().length, a = 0, s = this.TabsJSON.length; s > a; a++) {
                    var o = this.TabsJSON[a].type;
                    if ("voteInteraction" === o || "goods" === o) {
                        this.TabsJSON.splice(a, 1);
                        break
                    }
                }
                e.children().each(function () {
                    if ($(this).attr("data-type") == t)switch ($(this).remove(), i) {
                        case 4:
                            e.removeClass("four").addClass("thr");
                            break;
                        case 3:
                            e.removeClass("thr").addClass("two");
                            break;
                        case 2:
                            e.removeClass("two").addClass("one")
                    }
                }), this.tabAdded = !1
            }, episodeActiveTab: function (t) {
                t || (t = _lastTmpTab), this.userClickedTab = !0, this.setActiveTab(t), this.positionItem({
                    vid: this.currentVid,
                    fromSwitch: !0
                })
            }, initTabExploseStat: function (t) {
                for (var e = EpisodeList, i = t.length, a = e.tabExposeStatConfig, s = 0; i > s; s++) {
                    var o = t[s].type;
                    for (var n in a)if (n && a.hasOwnProperty(n)) {
                        var r = a[n];
                        if (r.type === o && r.show) {
                            var l = r.isRecommend || !1, c = r.isAB || !1;
                            e.sendExposeStat(r.statStr, l, c)
                        }
                    }
                }
            }, setActiveTab: function (t, e, i) {
                var a = this;
                a.currentVtype = t;
                var s = this.currentOptions, o = this.$listContener.find(".juji_tit"), n = o.find("li"), r = o.find("li.cur"), l = !1;
                if (t && (t !== r.attr("data-type") || i)) {
                    var c = 0;
                    r.removeClass("cur");
                    for (var d = !1, p = 0; p < n.length; p++)n.eq(p).attr("data-type") === t && (n.eq(p).addClass("cur"), c = p, d = !0);
                    d || (n.eq(0).addClass("cur"), c = 0, a.currentVtype = n.eq(0).attr("data-type"));
                    var h = $(s.sliderArea), u = $(s.dragArea), m = $(s.silderOut);
                    a.resetListSize({
                        hasJujiBar: a.TabsJSON[c] && a.TabsJSON[c].hasJujiBar,
                        hasGenboBar: a.TabsJSON[c] && a.TabsJSON[c].hasGenboBar,
                        hasMonthBox: a.TabsJSON[c] && a.TabsJSON[c].hasMonthBox,
                        hasYearBox: a.TabsJSON[c] && a.TabsJSON[c].hasYearBox,
                        hasZYPositive: a.TabsJSON[c] && a.TabsJSON[c].hasZYPositive,
                        hasUpDownPositive: a.TabsJSON[c] && a.TabsJSON[c].hasUpDownPositive,
                        hasTvVipBar: a.TabsJSON[c] && a.TabsJSON[c].hasTvVipBar,
                        showVipTextTip: a.TabsJSON[c] && a.TabsJSON[c].showVipTextTip
                    }), t !== r.attr("data-type") && ($(".juji_bar").remove(), $(".j_genboBar").remove(), $(".juji_yearBox").remove(), $(".juji_monthBox").remove(), $(".juji_positive").remove(), $(".renew_box").remove(), a.TabsJSON[c] && a.TabsJSON[c].hasJujiBar && a.TabsJSON[c].jujiBar.showBox(), a.TabsJSON[c] && a.TabsJSON[c].hasGenboBar && a.TabsJSON[c].genboBar.showBox(), a.TabsJSON[c] && a.TabsJSON[c].hasYearBox && a.TabsJSON[c].yearBox.showBox(), a.TabsJSON[c] && a.TabsJSON[c].hasMonthBox && (a.TabsJSON[c].monthBox.showBox(), e && "list" === e && a.TabsJSON[c].monthBox.activeMonthBoxLiByOrder(0)), a.TabsJSON[c] && a.TabsJSON[c].ZYPositive && a.TabsJSON[c].ZYPositive.showBox(), a.TabsJSON[c] && a.TabsJSON[c].hasTvVipBar && a.TabsJSON[c].tvVipBar.showBox()), h.hide(), u.hide(), h.css("top", 0), a.TabsJSON.length > 0 && a.TabsJSON[c].forceDom ? h.html(a.TabsJSON[c].forceDom) : a.TabsJSON.length > 0 && a.TabsJSON[c].html ? h.html(a.TabsJSON[c].html) : h.html(""), h.fadeIn("fast"), "list" === e && a.loadImg(h, m), setTimeout(function () {
                        a.initExposeStat(t)
                    }, 0), i || (l = !0)
                }
                return l
            }, initExposeStat: function (t) {
                var e = EpisodeList, i = e.tabExposeStatConfig, a = e.itemExposeStatConfig;
                for (var s in i)if (s && i.hasOwnProperty(s) && i[s].type === t && i[s].show)for (var o = i[s].contains, n = 0; n < o.length; n++) {
                    for (var r = o[n], l = a[r], c = !1, d = 0; d < l.beContained.length; d++)l.beContained[d] === s && (c = !0);
                    if (l.show && c) {
                        var p = l.isRecommend || !1, h = l.isAB || !1;
                        e.sendExposeStat(l.statStr, p, h)
                    }
                }
            }, sendExposeStat: function (t, e, i) {
                if (e) {
                    var a = this.episodeRecommend;
                    if (!a)return;
                    var s = i ? "area=xiangguan&moren=1" : "area=xiangguan";
                    Stats.sendAction({acode: "19", reid: a.reid, bucket: a.bucket, ap: s, area: a.area})
                } else Stats.sendAction({acode: "41", ap: t})
            }, formatPlayCount: function (t) {
                if (parseInt(t, 10) >= 0) {
                    var e = "";
                    return e = 1e4 > t ? this.thousand(t) : 1e8 > t ? (t / 1e4).toFixed(1) + " 万" : (t / 1e8).toFixed(1) + " 亿"
                }
                return ""
            }, formatEpisodeDate: function (t) {
                if (t && 8 === t.length) {
                    var e = t.slice(0, 4), i = t.slice(4, 6), a = t.slice(6, 8);
                    return e + "-" + i + "-" + a
                }
                return ""
            }, hmsToms: function (t) {
                var e = t.split(":");
                if (3 === e.length) {
                    var i = parseInt(e[0], 10), a = parseInt(e[1], 10), s = parseInt(e[2], 10), o = 3600 * i + 60 * a + s;
                    return this.episodeFormatTime(o)
                }
                return t
            }, timeToSeconds: function (t) {
                var e = t.split(":"), i = 0, a = 0, s = 0, o = 0;
                switch (e.length) {
                    case 2:
                        a = parseInt(e[0], 10), s = parseInt(e[1], 10), o = 60 * a + s;
                        break;
                    case 3:
                        i = parseInt(e[0], 10), a = parseInt(e[1], 10), s = parseInt(e[2], 10), o = 3600 * i + 60 * a + s;
                        break;
                    default:
                        o = t
                }
                return o
            }, prepareCommonData: function (t) {
                var e = this, i = t.videos, a = (t.videoType, this.getVideoIds(i.slice(0, 100)));
                this.getPidsInfo(a.toString(), function (a) {
                    var s = {clientVideoType: t.clientVideoType || "", clickStatStr: t.clickStatStr};
                    t.extendObj && $.extend(s, t.extendObj), e.setViewCount(i, a, s), t.videoDatas[t.videoDatasProperty] = i, t.videoDataStats[t.videoDataStatsProperty] = !0
                })
            }, doEpisodeSwitch: function (t, e) {
                var i = this.currentOptions, a = $(i.sliderArea), s = $(i.dragArea);
                a.hide(), s.hide(), a.css("top", 0), a.html(e), a.fadeIn("fast"), this.positionItem({
                    vid: t || this.currentVid,
                    fromSwitch: !0
                });
                for (var o = this.$listContener.find(".juji_tit"), n = o.find("li.cur").attr("data-type"), r = this.TabsJSON, l = 0; l < r.length; l++)r[l].type === n && (r[l].html = e)
            }, getEpisodeHtml: function (t) {
                var e = this, i = this.dataFrom, a = {
                    videos: t.videos,
                    extraClass: t.extraClass || "",
                    notLazyLoad: t.notLazyLoad || !1
                };
                t.isGridType ? a.dataFrom = i.GridType : a.dataFrom = t.dataFrom || "";
                var s = this.getListHtml(a), o = null, n = null;
                if (t.isShowOther) {
                    o = 11 === e.INFO.cid || 1021 === e.INFO.cid ? {
                        videos: null,
                        hasTitle: !0,
                        notLazyLoad: !0,
                        titleText: "周边视频"
                    } : {
                        videos: t.zhoubianObj || null,
                        hasTitle: !0,
                        notLazyLoad: !0,
                        titleText: "周边视频"
                    }, 11 === e.INFO.cid && (n = {
                        videos: t.pointObj || null,
                        hasTitle: !0,
                        notLazyLoad: !1,
                        titleText: "精彩看点"
                    });
                    var r = {
                        videos: t.relativeSerial || null,
                        hasTitle: !0,
                        notLazyLoad: !0,
                        titleText: "相关系列",
                        dataFrom: i.RelationAlbum
                    }, l = __INFO__ && __INFO__.pid, c = {
                        10012434: {
                            url: "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/23464820.html",
                            txt: "会员观看40集全集"
                        },
                        10013133: {
                            url: "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/23532893.html",
                            txt: "会员观看58集全集"
                        }
                    };
                    c[l] && (s += '<div style="text-align: center;"><a href="' + c[l].url + '" target="_blank" style="background: url(http://i2.letvimg.com/lc02_img/201509/17/15/37/vipjuji.png);width: 152px;height: 40px;line-height: 40px;color: fff;display: inline-block;font-size: 16px;margin: 16px auto;">' + c[l].txt + "</a></div>"), s += __INFO__ && 1 == __INFO__.cid ? this.getListHtml(r) + this.getListHtml(o) : __INFO__ && 11 == __INFO__.cid ? this.getListHtml(n) + this.getListHtml(r) : this.getListHtml(o) + this.getListHtml(r)
                }
                return s
            }, setCurrentTabsType: function (t, e) {
                var i = this.currentVid, a = this.INFO.cid;
                if (1 === t || 3 === t ? this.currentVtype = "episode" : this.currentVtype = "related", 9 !== a && e && e.length > 0) {
                    this.currentVtype = "related";
                    for (var s = 0; s < e.length; s++)e[s] === i && (this.currentVtype = "episode")
                }
            }, getVideos: function (t, e) {
                var i = this, a = null;
                a = 11 === i.INFO.cid || 2 === i.INFO.cid ? "http://" + LETV.CONSTANT.host.D_API_M_LETV_COM + "/apipccard/dynamic?" + $.param(t) + "&callback=?" : "http://" + LETV.CONSTANT.host.API_LETV_COM + "/mms/out/album/videos?" + $.param(t) + "&callback=?", this.sendMessage(a, e)
            }, getPidsInfo: function (t, e) {
                var i = "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/getIdsInfo?type=vlist&ids=" + t + "&callback=?";
                this.sendMessage(i, e)
            }, getCMSData: function (t, e) {
                var i = "http://" + window.location.host, a = i + "/cmsdata/block/" + t + ".json?t=" + (new Date).getTime();
                this.sendMessage(a, e)
            }, getVideoMsg: function (t, e) {
                var i = "http://" + LETV.CONSTANT.host.API_LETV_COM + "/mms/out/video/get?vid=" + t + "&callback=?";
                this.sendMessage(i, e)
            }, getRecommendData: function (t, e) {
                var i = "http://" + LETV.CONSTANT.host.REC_LETV_COM + "/pcw?" + $.param(t) + "&jsonp=?";
                this.sendMessage(i, e)
            }, getVideoListByDate: function (t, e) {
                var i = this, a = null;
                a = 11 === i.INFO.cid ? "http://" + LETV.CONSTANT.host.D_API_M_LETV_COM + "/apipccard/dynamic?" + $.param(t) + "&callback=?" : "http://" + LETV.CONSTANT.host.API_LETV_COM + "/mms/out/albumInfo/getVideoListByDate?" + $.param(t) + "&callback=?", this.sendMessage(a, e)
            }, sendMessage: function (t, e) {
                var i = this;
                $.ajax({
                    url: t, type: "get", dataType: "json", success: function (t) {
                        e.call(i, t), i.episodeInited || i.playListEvent.emit("episodeListRenderStart"), 11 === i.INFO.cid && i.episodeInited && i.zyListDoRefresh && i.playListEvent.emit("zyListingRefresh", !0)
                    }, error: function () {
                        e.call(i, null), !i.episodeInited && i.episodeReInitCount > 0 && (i.episodeReInitCount--, i.playListEvent.emit("episodeListReInit"))
                    }
                })
            }
        };
        EpisodeList.init(), module.exports = EpisodeList
    }, require("bz/www_play/episodeList"), LETV.App.Play.changeScreen = function (t) {
        var e = require("bz/www_play/events");
        t ? e.emit("episodeListClose") : e.emit("episodeListOpen"), "undefined" != typeof h5player && "function" == typeof h5player.resize && h5player.resize()
    }, require("bz/www_play/responsePlayer"), LTK["bz/www_play/app"] = function (t, e, i) {
        var a = {
            init: function (t) {
                if (/from=appjump/.test(window.location.href))return !1;
                t = t || {};
                var e = __INFO__ || {}, i = e.video || {}, a = t.vid ? t.vid : i.vid, s = t.vid ? 0 : i.pid, o = a ? 0 : "", n = "iPadLetvClient://msiteAction?actionType=" + o + "&vid=" + (a || 0) + "&pid=" + (s || 0) + "&from=pcsite", r = "https://itunes.apple.com/cn/app/le-shi-ying-shihd/id412395632?mt=8", l = document.createElement("iframe");
                l.style.display = "none";
                var c, d = document.body, p = function (e, i) {
                    !t.isOnlyOpen && i && (location.href = r), window.removeEventListener("pagehide", h, !0), window.removeEventListener("pageshow", h, !0), l && (l.onload = null, d.removeChild(l), l = null)
                }, h = function (t) {
                    clearTimeout(c), p(t, !1)
                };
                window.addEventListener("pagehide", h, !0), window.addEventListener("pageshow", h, !0), l.onload = p, l.src = n, d.appendChild(l);
                var u = +new Date;
                c = setTimeout(function () {
                    c = setTimeout(function () {
                        var t = +new Date;
                        u - t > 1300 ? p(null, !1) : p(null, !0)
                    }, 1200)
                }, 60)
            }
        };
        i.exports = a
    }, require("bz/www_play/app"), LTK["bz/www_play/auto_openapp"] = function (t, e, i) {
        var a = navigator.userAgent.toLowerCase();
        /ipad/.test(a) && !/letv/.test(a) && t("bz/www_play/app").init({isOnlyOpen: !0})
    }, require("bz/www_play/auto_openapp"), $(function () {
        var t = {
            init: function () {
                this.initEvent()
            }, initEvent: function () {
                var t = this;
                if (__INFO__ && __INFO__.video && 1 == __INFO__.video.cid && 0 == __INFO__.video.trylook) {
                    t.fold_gift();
                    var e = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/3556.json?t=" + (new Date).getTime();
                    $.getJSON(e, function (t) {
                        if (t) {
                            var e = t.blockContent[0].pic1, i = t.blockContent[0].url;
                            if ("" == e || "" == i)$(".banner_ad").hide(); else {
                                var a = '<div class="banner_ad"><a class="le_memb_img" target="_blank" href="' + i + '"><img src="' + e + '"></a><a href="javascript:;" class="le_ad_gift le_ad_gift_j"></a><a href="javascript:;" class="le_ad_close"></a></div>';
                                $(".j-video-name").after(a)
                            }
                        }
                    }), $(".le_ad_gift_d").live("click", function () {
                        t.open_gift(), t.fold_gift()
                    }), $(".le_ad_close").live("click", function () {
                        $(".banner_ad").hide()
                    })
                }
            }, open_gift: function () {
                $(".le_memb_img img").animate({width: "376"}, 500, function () {
                    $(".le_ad_gift").removeClass("le_ad_gift_d").addClass("le_ad_gift_j")
                })
            }, fold_gift: function () {
                setTimeout(function () {
                    $(".le_memb_img img").animate({width: "0"}, 500, function () {
                        $(".le_ad_gift").removeClass("le_ad_gift_j").addClass("le_ad_gift_d")
                    })
                }, 1e4)
            }
        };
        t.init()
    }), $(function () {
        var t = {
            init: function () {
                this.initDom(), this.initHtml(), this.initEvent()
            }, initDom: function () {
                this.$i08 = $(".interact_area .i08"), this.lock = !0, this.getInfo = Spirit.UserValidate.getUserInfo()
            }, initHtml: function () {
                var t = '<!-- 领壕礼 start --><div class="interact_func_panels prize_panel"><div class="prize_pop"><a class="prize_pic" k-name="send-click-stat" target="_blank"><img src="" alt="" title=""><span></span></a></div><!--箭头--><div class="ico_juji_tarr panel_arrow"><span class="arrow arrow_b"></span><span class="arrow arrow_a"></span></div><!--箭头--><a title="关闭" class="panel_close"></a></div><!-- 领壕礼 end -->';
                $(".prize_panel").length || this.$i08.append(t)
            }, initEvent: function () {
                _this = this, pageUrl = window.location.href, -1 != pageUrl.indexOf("http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay") && (_this.getInfo ? _this.loginPlayer() : _this.logoutPlayer(), _this.$i08.live("mouseenter", function () {
                    _this.jfTips()
                }).live("mouseleave", function () {
                    _this.lock = !1, $(".prize_panel").hide(), _this.$i08.removeClass("cur")
                }), $(".panel_close").live("click", function () {
                    $(".prize_panel").hide(), _this.$i08.removeClass("cur")
                }))
            }, jfTips: function () {
                _this = this, _this.lock = !0;
                var t = _this.getInfo ? $("#j-credit_online em").text() : 0;
                $.getJSON("http://" + LETV.CONSTANT.host.TES_TOUCH_MY_LETV_COM + "/player/list?score=" + t + "&callback=?", function (t) {
                    return 0 != t.status_code ? console.log(t.status_desc) : void(_this.lock && t.result_data && (t.result_data && t.result_data.url && $(".prize_pic").attr("href", t.result_data.url), t.result_data && t.result_data.img_url && $(".prize_pic img").attr("src", t.result_data.img_url), t.result_data && t.result_data.text && $(".prize_pic span").text(t.result_data.text), $(".prize_panel").show(), _this.$i08.addClass("cur")))
                })
            }, loginPlayer: function () {
                _this = this;
                var t = Cookie.get("logInPlayTime");
                "" == t && (this.jfTips(), setTimeout(function () {
                    $(".prize_panel").hide(), _this.$i08.removeClass("cur")
                }, 1e4), Stats && Stats.sendAction({ap: "ch=player&pg=jifenTouch&bk=login&link=auto"}), Cookie.set("logInPlayTime", "1")), _this.$i08.on("mouseenter", function () {
                    Stats && Stats.sendAction({ap: "ch=player&pg=jifenTouch&bk=login&link=hover"})
                }), $(".prize_pop a").attr("data-click-stat", "ch=player&pg=jifenTouch&bk=login&link=tipsClick")
            }, logoutPlayer: function () {
                _this = this;
                var t = Cookie.get("unLogPlayTime");
                if ("" == t)Cookie.set("unLogPlayTime", "1"); else {
                    var t = parseInt(Cookie.get("unLogPlayTime")) + 1;
                    Cookie.set("unLogPlayTime", t)
                }
                "4" == t && (_this.jfTips(), setTimeout(function () {
                    $(".prize_panel").hide(), _this.$i08.removeClass("cur")
                }, 1e4), Stats && Stats.sendAction({ap: "ch=player&pg=jifenTouch&bk=logout&link=auto"})), _this.$i08.on("mouseenter", function () {
                    Stats && Stats.sendAction({ap: "ch=player&pg=jifenTouch&bk=logout&link=hover"})
                }), $(".prize_pop a").attr("data-click-stat", "ch=player&pg=jifenTouch&bk=logout&link=tipsClick")
            }
        };
        t.init()
    }), LTK["bz/www_play/duanliu"] = function (t, e, i) {
        var a = (LETV.using("App"), LETV.using("App.Play"), window.__INFO__ || {}), s = a.video || {}, o = {
            title: s.title || null,
            vid: s.vid || null,
            pid: s.pid || null,
            qrcode: "letv",
            htime: 0,
            ref: "",
            message: ""
        }, n = 10015173 == o.pid || 10017020 == o.pid ? !0 : !1, r = !1, l = !1, c = !1, d = !1, p = t("bz/www_play/events"), h = {
            init: function () {
                this.initDom(), this.initEvent()
            }, initDom: function () {
                if (o.title = s.title || null, o.vid = s.vid || null, o.pid = s.pid || null, __INFO__.video.cutflag && !n) {
                    o.ref = "duanliu_APP_s", o.message = "duanliu_sms_s";
                    var t = this.initInfo(o);
                    this.streamCutRight(t, o), $(".appBox").show();
                    var e = $(".app_cnt");
                    this.infoBox(e, o)
                } else $(".appBox").hide()
            }, initEvent: function () {
                n ? (p.on(p.PLAY_VIDEO, this.resizeDuanliu), p.on("hideMiyueDuanliu", this.hideMiyueDuanliu), p.on("showMiyueDuanliu", this.showMiyueDuanliu), p.on(p.CLICK_STREAMCUT, this.miyueStreamcut), p.on(p.PLAYER_STREAMCUT, this.miyueStreamcutPlayer)) : (p.on(p.CLICK_STREAMCUT, this.streamCut), p.on(p.PLAYER_STREAMCUT, this.streamCutPlayer), p.on(p.PLAY_VIDEO, function (t) {
                    $(".appBox").remove(), $(".app_popBox").remove(), h.initDom()
                })), p.on(p.PLAYLIST_FOLD, function (t) {
                    t ? $(".appBox").hide() : $(".appBox").show()
                }), p.on(p.CLICK_FIRSTLOOK, this.firstLook), p.on(p.PLAYER_FIRSTLOOK, this.firstLookPlayer), p.on(p.PLAYER_RESIZE, function (t) {
                    h.responseVideoResize()
                })
            }, streamCut: function () {
                var t = "安装乐视视频APP，海量视频随意看";
                return h.initStreamCut(t), 1
            }, streamCutPlayer: function () {
                var t = "观看完整版，请安装乐视视频APP";
                h.initStreamCut(t)
            }, firstLook: function () {
                var t = "安装乐视视频APP，海量视频随意看";
                return h.initFirstLook(t), 1
            }, firstLookPlayer: function () {
                var t = "观看完整版，请安装乐视视频APP";
                h.initFirstLook(t)
            }, initStreamCut: function (t) {
                $(".app_popBox").remove(), o.ref = "duanliu_APP", o.message = "duanliu_sms";
                var e = h.initInfo(o);
                h.popHtml(e, t, o);
                var i = $(".tab2");
                h.infoBox(i, o)
            }, initFirstLook: function (t) {
                $(".app_popBox").remove(), o.ref = "mf_letv_qxk", o.message = "APPqxk";
                var e = h.initInfo(o);
                h.popHtml(e, t, o);
                var i = $(".tab2");
                h.infoBox(i, o)
            }, initInfo: function (t) {
                var e = "http://" + LETV.CONSTANT.host.M_LETV_COM + "/qxk.html?htime=" + t.htime + "&vid=" + t.vid + "&pid=" + t.pid + "&ref=" + t.ref + "&qrcode=" + t.qrcode + "&title=" + encodeURIComponent(t.title), i = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=180&txt=" + encodeURIComponent(e);
                return i
            }, popHtml: function (t, e, i) {
                var a = ['<div class="app_popBox">', '<div class="app_pop">', '<div class="app_title">', e, "</div>", '<a href="javascript:;" class="ico_close"></a>', '<ul class="tab">', '    <li class="j-tab cur">二维码</li><li class="j-tab">短信</li><li class="j-tab tab_last">电脑</li>', "</ul>", '<div class="tab_cnt">', '    <div class="tab1 j-for cur">', "        <ul>", "            <li><p>使用微信或乐视APP扫一扫</p><p>海量视频随心看</p></li>", '            <li><img src="', t, '"></li>', "        </ul>", "    </div>", '    <div class="tab2 j-for">', "        <ul>", '            <li class="li01"><p>发送下载地址至手机，免费安装乐视视频客户端</p></li>', '            <li class="li03"><em>手机号：</em><span><input type="text" name="" maxlength="11" class="input_mobile j-mobile" value=""></span></li>', '            <li class="li03"><em>验证码：</em><span><input type="text" name="" maxlength="4" class="input_captcha j-captcha"><img alt="验证码" src="" class="code j-code"></span></li>', '            <li class="li04"><span class="j-messages"></span><a title="换一换" href="javascript:;" class="change_code j-changeCode">换一换</a></li>', '            <li class="li05"><a href="javascript:;" class="ico_send j-send">发送</a></li>', '            <li class="li02"><p>此短信不收任何费用，保证您的手机号安全不被泄露</p></li>', "        </ul>", "    </div>", '    <div class="tab3 j-for">', "        <ul>", '            <li class="li01"><p>下载安装文件至电脑</p></li>', '            <li class="li02 j-1"><a href="http://' + LETV.CONSTANT.host.APP_M_LETV_COM + '/android/index.php?mod=stat&ctl=download&act=add&report=1&pcode=010110000.apk" target="_blank" class="a_and"><i class="ico_and"></i>Android版</a></li>', '            <li class="li02 j-1"><a href="https://itunes.apple.com/cn/app/le-shi-ying-shihd/id412395632?mt=8" target="_blank" class="a_pad"><i class="ico_pad"></i>IPad版</a></li>', '            <li class="li02 j-1"><a href="https://itunes.apple.com/cn/app/le-shi-shi-pin-guo-nei-zui/id385285922?mt=8" target="_blank" class="a_pad"><i class="ico_pad"></i>IPhone版</a></li>', "        </ul>", "    </div>", "</div>", "</div>", '<iframe style="background: none repeat scroll 0px 0px rgb(255, 255, 255); overflow: hidden; position: absolute; z-index: 99; width: 580px; height: 420px; border-style: none; display: block; top:50%; left:50%; margin: -210px 0 0 -290px;"></iframe>', "</div>"].join("");
                $(".le_play").append(a);
                var s = $(".le_playbox").height(), o = $(".le_playbox").width();
                $(".app_popBox").css({
                    width: o,
                    height: s,
                    top: "0",
                    left: "0",
                    position: "absolute",
                    display: "block"
                }).find(".j-1").on("click", function () {
                    Stats.sendAction({acode: "0", ap: "fl=a131"})
                }), Stats.sendAction({acode: "41", ap: "fl=a13"}), LETV.UI.SimpleTab(".app_pop", {
                    tabs: ".tab li.j-tab",
                    tabsFor: ".tab_cnt .j-for",
                    switchClass: "cur"
                }), $(".ico_close").click(function () {
                    $(".app_popBox").hide()
                })
            }, infoBox: function (t, e) {
                var i = $(".j-code"), a = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime();
                i.attr("src", a), $(".j-changeCode").on("click", function () {
                    i.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                });
                var s = t.find(".j-messages"), o = t.find(".j-mobile"), n = t.find(".j-captcha"), r = {
                    0: "短信发送成功！",
                    1: "验证码错误！",
                    2: "验证码错误！",
                    3: "验证码错误！",
                    4: "手机号非法！",
                    5: "手机号非法！",
                    6: "短信发送失败！",
                    7: "短信发送失败！",
                    8: "短信发送失败！",
                    9: "短信发送已经达到上限！",
                    10: "短信发送已经达到上限！"
                };
                t.find(".j-send").on("click", function () {
                    s.removeClass("red").removeClass("blue");
                    var t;
                    return "" == o.val() ? (t = n.val() ? "请填写手机号！" : "请填写手机号和验证码！", void s.addClass("red").text(t)) : "" == n.val() ? (t = "请填写验证码！", void s.addClass("red").text(t)) : void $.ajax({
                        type: "post",
                        url: "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/checkcaptcha?callback=?",
                        data: {mobile: o.val(), captchaValue: n.val(), vid: e.vid, pid: e.pid, source: e.message},
                        dataType: "jsonp",
                        success: function (t) {
                            s.text(r[t.code]), 0 == t.code ? s.addClass("blue") : s.addClass("red"), i.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                        }
                    })
                })
            }, streamCutRight: function (t) {
                var e = '<div class="appBox">    <div class="app_ico">APP独享完整版</div>    <div class="app_cnt" style="display:none;">        <ul style=" width:284px; height: 380px;">            <li class="li01"><p>扫码安装，海量视频走着瞧</p></li>            <li class="li02"><img src="' + t + '"></li>            <li class="li01"><p>免费发送到手机，安装乐视APP</p></li>            <li class="li03"><em>手机号：</em><span><input type="text" name="" maxlength="11" class="input_mobile j-mobile" value=""></span></li>            <li class="li03"><em>验证码：</em><span><input type="text" name="" maxlength="4" class="input_captcha j-captcha"><img alt="验证码" src="" class="code j-code"></span></li>            <li class="li04"><span class="j-messages"></span><a title="换一换" href="javascript:;" class="change_code j-changeCode">换一换</a></li>            <li class="li05"><a href="javascript:;" class="ico_send j-send">发送</a></li>            <li class="li01"><p>我们对您的信息保密并不收取任何费用</p></li>        </ul>    </div></div>';
                $(".le_jujibox").append(e), $(".app_cnt").css({height: $("#fla_box").height() - 120}), $(".app_cnt").slideToggle("slow"), $(".app_ico").toggleClass("app_icoBarr"), $(".le_jujibox .juji_titBox").click(function () {
                    "block" === $(".appBox").css("display") && "none" !== $(".app_cnt").css("display") && $(".app_cnt").slideUp("slow")
                }), $(".app_ico").on("click", function () {
                    $(".app_cnt").slideToggle("slow"), $(".app_ico").toggleClass("app_icoBarr"), $(".app_cnt").css({height: $("#fla_box").height() - 120})
                })
            }, responseVideoResize: function () {
                var t = $(".le_playbox").height(), e = $(".le_playbox").width();
                $(".app_popBox").css({
                    width: e,
                    height: t,
                    top: "0",
                    left: "0",
                    position: "absolute"
                }), $(".app_cnt").css({height: t - 120})
            }, miyueStreamcut: function () {
                l = !0, c = !0, d = !0, h.initMiyueStream()
            }, miyueStreamcutPlayer: function () {
                l = !1, c = !0, d = !0, h.initMiyueStream()
            }, initMiyueStream: function () {
                c && !r ? h.showMiyuePop() : h.hideMiyuePop()
            }, showMiyuePop: function () {
                if (!$(".princess_pop").length) {
                    var t = ['<div class="le_play_pop princess_pop">', '<a class="btn_prin_close" href="javascript:;" style="display:none;"></a>', '<div class="p_title">', '<img src="http://i3.letvimg.com/lc02_img/201512/31/14/25/c_title.png">', "</div>", '<div class="prin_cnt">', '<div class="prin_bg"></div>', '<img src="http://i0.letvimg.com/lc05_img/201601/12/10/43/tzf_cnt.png">', "</div>", '<div class="p_wrap">', '<div class="p_form_wrap">', '<div class="ewm_img"><img src="http://i1.letvimg.com/lc03_img/201601/05/15/44/prin_ewm.jpg" width="132"></div>', '<div class="p_form">', "<div>", '<input class="p_inp p-mobile" type="text"  value="请输入手机号" maxlength="11">', "</div>", '<div class="p_code">', '<input class="p_inp p-captcha" type="text" value="验证码" maxlength="4">', '<div class="verifiCode">', '<a class="change_code" href="javascript:;">换一换</a>', "</div>", "</div>", '<a class="p_btn_send" href="javascript:;">免费发送到手机</a>', '<p class="p_errortip red"></p>', "</div>", "</div>", "</div>", "</div>"].join("");
                    $("#fla_box").prepend(t), h.miyueInfoBox()
                }
                if ($(".princess_pop").show(), l ? $(".btn_prin_close").show() : $(".btn_prin_close").hide(), h.miyueCloseEvent(), d) {
                    d = !1;
                    var e = l ? "duan=specialTip" : "duan=special";
                    Stats.sendAction({acode: "41", ap: e})
                }
            }, hideMiyuePop: function () {
                $(".princess_pop").hide()
            }, miyueInfoBox: function () {
                var t = $(".p_form"), e = t.find(".p_errortip"), i = t.find(".p-mobile"), a = t.find(".p-captcha"), s = t.find(".change_code"), o = {
                    0: "短信发送成功！",
                    1: "验证码输入错误！",
                    2: "验证码输入错误！",
                    3: "验证码输入错误！",
                    4: "请填写手机号！",
                    5: "手机号非法！",
                    6: "短信发送失败！",
                    7: "短信发送失败！",
                    8: "短信发送失败！",
                    9: "短信发送已经达到上限！",
                    10: "短信发送已经达到上限！"
                }, n = function () {
                    $(".verifiCode").find(".verifiCode_img").length || ($(".change_code").before('<img class="verifiCode_img" src="" alt="验证码">'), $(".verifiCode_img").attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime()))
                };
                i.focus(function () {
                    var t = $(this);
                    n(), "请输入手机号" == t.val() && t.val("")
                }).blur(function () {
                    var t = $(this);
                    "" == t.val() && t.val("请输入手机号")
                }), a.focus(function () {
                    var t = $(this);
                    n(), "验证码" == t.val() && t.val("")
                }).blur(function () {
                    var t = $(this);
                    "" == t.val() && t.val("验证码")
                }), s.on("click", function () {
                    $(".verifiCode_img").attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                }), t.find(".p_btn_send").on("click", function () {
                    e.removeClass("red").removeClass("green");
                    var t;
                    return "请输入手机号" == i.val() ? (t = "验证码" == a.val() ? "请输入手机号和验证码！" : "请输入手机号!", void e.addClass("red").text(t)) : "验证码" == a.val() ? (t = "请填写验证码！", void e.addClass("red").text(t)) : void $.ajax({
                        type: "post",
                        url: "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/checkcaptcha?callback=?",
                        data: {mobile: i.val(), captchaValue: a.val(), source: "appdownload", position: "tzfszj"},
                        dataType: "jsonp",
                        success: function (t) {
                            e.html(o[t.code]), setTimeout(function () {
                                e.html("")
                            }, 4e3), 0 == t.code ? (e.addClass("green"), a.val("验证码"), Stats.sendAction({
                                acode: "0",
                                ap: "duan=specialClick"
                            })) : e.addClass("red"), $(".verifiCode_img").attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                        }
                    })
                })
            }, showMiyueDuanliu: function () {
                r && (r = !1, h.initMiyueStream())
            }, hideMiyueDuanliu: function () {
                r || (r = !0, h.initMiyueStream())
            }, miyueCloseEvent: function () {
                var t = $(".btn_prin_close");
                return t.length ? void t.on("click", function () {
                    c = !1, h.hideMiyuePop()
                }) : !1
            }, resizeDuanliu: function () {
                $(".princess_pop").remove(), r = !1, l = !1, c = !1, d = !1
            }
        };
        h.init()
    }, require("bz/www_play/duanliu"), function () {
        var t = require("air/string/byteLength"), e = require("bz/com/clipStrLength"), i = {
            tplInit: function (t) {
                var e = '<a title="{aTitle}" target="_blank" href="{aHref}" class="a_temp {classStr}" k-name="rec-stat" data-info="{dataInfo}"><span class="d_img"><img src="{imgSrc}" alt="{imgAlt}">{itemType} <b class="bg"></b></span><span class="d_tit">{itemTitle}</span>{itemSubTitle}</a>', i = this, a = new Tpl(e, function (t, e) {
                    i.videoFormat(t)
                });
                return a.render(t)
            }, videoFormat: function (i) {
                i.aHref = i.sourceURL, i.dataInfo = i.info, i.imgSrc = i.imgURL, i.itemType = i.type ? '<em class="tg">' + i.type + "</em>" : "";
                var a = i.cid, s = i.isPositive, o = "", n = "", r = 20, l = 24, c = 41;
                9 == a && (r = 17), n = 2 == a || 5 == a || 11 == a || 16 == a ? i.aTitle = i.imgAlt = i.s_title : i.aTitle = i.imgAlt = i.title, o = 1 == a ? e(i.subTitle, l) || "" : 2 == a && s || 5 == a ? i.subTitle ? e(i.subTitle, l) : 0 == i.isFinish && i.isalbum > 0 ? "共" + i.totalEpisode + "集，已更新至" + i.currentEpisode + "集" : i.isalbum > 0 ? "共" + i.totalEpisode + "集，已完结" : "" : 9 == a ? e(i.songer, l) || "" : 11 == a ? i.subTitle ? e(i.subTitle.split(" ")[0], l) : i.playStatus : "", o && o.length ? (i.itemSubTitle = '<span class="d_cnt">' + o + "</span>", i.itemTitle = e(n, r), i.classStr = "") : (i.itemSubTitle = "", 14 == a || 23 == a || 16 == a || 4 == a || t(n) <= r ? i.classStr = "noSubTilte" : (i.classStr = "double_line", r = c), i.itemTitle = e(n, r))
            }
        }, a = function (t) {
            return i.tplInit(t)
        };
        window.Spirit ? "" : window.Spirit = {}, window.Spirit.htmlRender ? "" : window.Spirit.htmlRender = {}, Spirit.htmlRender.videoBlock2 = a
    }(), LTK["bz/www_play/guessLike3"] = function (t) {
        var e = {
            _config: {
                curInd: 0,
                curTab: "guess_likes",
                dataCount: 10,
                pageTotal: 2,
                paramArr: {
                    guess_likes: {
                        area: "rec_0001",
                        url: "http://" + LETV.CONSTANT.host.REC_LETV_COM + "/pcw?jsonp=?&lang=zh_cn",
                        changeData: [],
                        curPage: 0,
                        isLoad: !1,
                        isChange: !0
                    },
                    same_creator: {
                        area: "rec_0026",
                        url: "http://" + LETV.CONSTANT.host.REC_LETV_COM + "/pcw?jsonp=?&lang=zh_cn",
                        changeData: [],
                        curPage: 0,
                        isLoad: !1,
                        isChange: !0
                    },
                    cms_recom: {isLoad: !1, Stats: !0, changeData: []}
                },
                ind_tab: {0: "guess_likes", 1: "same_creator", 2: "cms_recom"}
            }, _init: function () {
                var e = t("air/util/ScrollTrigger"), i = this;
                i.recExpo = !0, e.add({
                    point: $(".le_recom").offset().top - 150, handler: function () {
                        i.$tab_nav = $(".le_recom_tab").children(), i.$tab_con = $(".le_recom_con"), i.$tab_em = $(".le_recom_tab em"), i.$tab_lastEm = i.$tab_em.last(), i.$recChange = $(".js_change_btn1"), i.$guessLikeChange = $(".js_change_btn2"), i._displayLogic(), i._changeData(), i._nextData()
                    }
                }), $(".le_zongyi_con").length && e.add({
                    isOnce: !1,
                    point: $(".le_zongyi_con").offset().top,
                    handler: function () {
                        i.recExpo && (i._dataReport({
                            code: 19,
                            ap: "ch=www&pg=play_v1&bk=reying&link=show"
                        }), i.recExpo = !1)
                    }
                }), e.add({
                    isOnce: !1, point: $(".guess_likes").offset().top, handler: function () {
                        i.recViewData && (Stats.sendAction(i.recViewData), i.recViewData = null)
                    }
                })
            }, _displayLogic: function () {
                var t = this, e = window.__INFO__;
                11 === e.cid || 1035 == e.cid ? (t.$recChange.show(), t.cmsChange()) : $(".le_reying_con") || t.$recChange.hide(), t._config.paramArr.guess_likes.isChange ? (t.$guessLikeChange.show(), t._getData()) : (t.$guessLikeChange.hide(), t._getData())
            }, _getData: function () {
                var t = this, e = t._config.paramArr[t._config.curTab];
                LocalStore.ready(function () {
                    if (!e.isLoad) {
                        var i = __INFO__, a = {
                            uid: LETV.cookie("ssouid") ? LETV.cookie("ssouid") : 0,
                            lc: Stats.getLC(),
                            cid: i.cid,
                            pid: i.pid,
                            vid: i.vid,
                            pt: "0001",
                            area: e.area,
                            num: t._config.dataCount * t._config.pageTotal,
                            history: LETV.cookie("his_vid") || ""
                        };
                        $.getJSON(e.url, a, function (i) {
                            t.guessData = i, i.rec.length < 20 ? (e.isChange = !1, t.$guessLikeChange.hide()) : t._cacheData(i), i.rec.length && t._renderData(i)
                        })
                    }
                })
            }, _renderData: function (t) {
                var e = this._handleData(t, 10);
                $(".guess_likes").html(e.join("")), this._config.paramArr[this._config.curTab].isLoad = !0, this.recViewData = {
                    acode: "19",
                    reid: t.reid,
                    bucket: t.bucket,
                    area: t.area
                };
                var i = $(window), a = i.scrollTop() + i.height();
                a > $(".guess_likes").offset().top && (Stats.sendAction(this.recViewData), this.recViewData = null)
            }, _changeData: function () {
                var t = this, e = !0, i = !0;
                t.$recChange.on("click", function () {
                    var i = $(".le_zongyi_con"), a = ($(".le_reying_con"), t.cms_data), s = null, o = 0;
                    a && (e ? (o += 1, s = a.slice(10)) : (o = 0, s = a.slice(0, 10))), i.length && (i.html(s.join("")), t.loadImg(i)), e = !e, window.__INFO__ && 11 == window.__INFO__.cid && t._dataReport({
                        code: "0",
                        ap: "ch=www&pg=play_v1&bk=rec&link=" + o + "_change"
                    })
                }), t.$guessLikeChange.on("click", function () {
                    var e = $(".le_recom_con "), a = null, s = null, o = [], n = t.guessData, r = 0;
                    n && (i ? (r += 1, a = n.rec.slice(10)) : (r = 0, a = n.rec.slice(0, 10)));
                    for (var l = 0, c = a.length; c > l; l += 1)s = Spirit.htmlRender.videoBlock2(Spirit.DataAdapter.videoBlock(a[l])), o.push(s);
                    e.html(o.join("")), t.loadImg(e), i = !i, t._dataReport({
                        code: "0",
                        ap: "ch=www&pg=play_v1&bk=guess&link=" + r + "_change"
                    })
                })
            }, _dataReport: function (t) {
                Stats.sendAction({acode: t.code, ap: t.ap})
            }, _handleData: function (t, e) {
                var i, a, s, o = [];
                s = e ? t.rec.slice(0, e) : t.rec;
                for (var n = 0, e = s.length; e > n; n++)1 == s[n].is_pay && (s[n]._ispay = "?ref=pf0601"), i = "{cid:'" + s[n].cid + "',pid:'" + s[n].pid + "',vid:'" + s[n].vid + "',reid:'" + t.reid + "',bucket:'" + t.bucket + "','area':'" + t.area + "',_ank:'" + (n + 1) + "'}", s[n]._info = i, a = Spirit.htmlRender.videoBlock2(Spirit.DataAdapter.videoBlock(s[n])), n % 10 == 6 || n % 10 == 7 ? a = a.replace("a_temp", "a_temp hide_1024") : (n % 10 == 8 || n % 10 == 9) && (a = a.replace("a_temp", "a_temp hide_1280")), o.push(a);
                return o
            }, _nextData: function () {
                var e = t("bz/www_play/events"), i = this;
                e.on(e.PLAY_VIDEO, function (t) {
                    var e = i._config.paramArr;
                    for (var a in e)i._config.paramArr[a].isLoad = !1;
                    i.$tab_nav.eq(i._config.curInd).trigger("mouseover")
                })
            }, _cacheData: function (t) {
                for (var e = this._handleData(t), i = 0; i < this._config.pageTotal; i++)this._config.paramArr[this._config.curTab].changeData[i] = e.slice(i * this._config.dataCount, (i + 1) * this._config.dataCount).join("")
            }, cmsChange: function () {
                var t, e = this;
                switch (window.__INFO__.cid) {
                    case 11:
                        t = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/1691.json";
                        break;
                    case 1035:
                        t = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/5571.json"
                }
                e._config.paramArr[e._config.curTab];
                $.getJSON(t, function (t) {
                    var i = [], a = e.cms_data = t.blockContent;
                    if (1035 == window.__INFO__.cid && a.length < 5)$("#360rec").remove(); else {
                        for (var s = 0; s < a.length; s++)a[s].url && document.domain.indexOf("letv.com") >= 0 && a[s].url.indexOf("letv.com") < 0 && (a[s].url = a[s].url.replace(/le.com/, "letv.com")), a[s] = '<a class="a_temp" href="' + a[s].url + '" target="_blank" title="' + a[s].title + '" k-name="send-click-stat" data-click-stat="ch=www&pg=play_v1&bk=cms_recom&link=zykhj"><span class="d_img"><img alt="' + a[s].title + '" data-src="' + a[s].pic1 + '"><b class="bg"></b></span><span class="d_tit">' + (a[s].title || "") + '</span><span class="d_cnt">' + (a[s].subTitle || "") + "</span></a>", 10 > s && i.push(a[s]);
                        $(".le_zongyi_con").html(i.join("")), e.loadImg($(".le_zongyi_con"))
                    }
                })
            }, loadImg: function (t) {
                t.find("img[data-src]").each(function () {
                    var t = $(this);
                    t.hide().attr("src", t.attr("data-src")).show()
                })
            }
        };
        $(".le_recom") && $(".le_recom").length > 0 && e._init()
    }, require("bz/www_play/guessLike3"), LTK["air/ui/Tab"] = function (t, e, i) {
        var a = function (t) {
            var e = {
                tabCont: "",
                tabClass: "",
                tabActiveClass: "active",
                cardCont: "",
                cardClass: "li",
                cardActiveClass: "active",
                switchEvent: "click",
                onSwitch: function (t, e, i) {
                }
            };
            for (var i in t)t.hasOwnProperty(i) && (e[i] = t[i]);
            if (this.$tabCont = "string" == typeof e.tabCont ? $(e.tabCont) : e.tabCont, this.$tabCont.length) {
                this.$cardCont = e.cardCont ? $(e.cardCont) : !1, this.setting = e, this.onSwitch = e.onSwitch;
                var a = this;
                this.tabCount = this.$tabCont.on(e.switchEvent, function (t) {
                    var i = $(t.target);
                    if (i.hasClass(e.tabClass) || (i = i.parents("." + e.tabClass)), i.length) {
                        var s = i.attr("data-index");
                        a.switchTo(s, i)
                    }
                }).find("." + e.tabClass).each(function (t) {
                    this.setAttribute("data-index", t)
                }).length, t = null
            }
        };
        a.prototype = {
            index: 0, tabCount: 0, switchTo: function (t, e) {
                t = parseInt(t), 0 > t && (t += this.tabCount, 0 > t && (t = 0));
                var i, a = this.setting, s = a.tabActiveClass;
                if (this.$tabCont.find("." + s).removeClass(s), e || (e = this.$tabCont.find("." + a.tabClass).eq(t)), e.addClass(s), this.$cardCont) {
                    var s = this.setting.cardActiveClass;
                    this.$cardCont.find("." + s).removeClass(s), i = this.$cardCont.find("." + a.cardClass).eq(t), i.addClass(s)
                }
                this.onSwitch(t, e, i), this.index = t
            }
        }, i.exports = a
    }, LTK["bz/www_play/hotMovie"] = function (t) {
        var e = t("air/util/ScrollTrigger"), i = {
            init: function () {
                var t = this;
                t.num = 0, t.movieNum = 5, t.initDom(), t.getHotMovie(), t.initEvent(), t.nameGuFang()
            }, initDom: function () {
                this.a = $(".le_reying_tit"), this.$changeBtn = $(".js_change_btn1"), this.$ReYingcon = $(".le_reying_con"), this.$zhongBangCon = $('.le_play_recom[data-statectn="newplay_miyue"]')
            }, nameGuFang: function () {
                var t = "孤芳不自赏", e = this.$zhongBangCon.find(".column_title h2 span");
                e.text(t).attr("title", t)
            }, getHotMovie: function () {
                var t = this, e = __INFO__.cid, i = 2 === e ? "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/4222.json" : "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/2248.json", a = 20, s = null;
                $.getJSON(i, function (e) {
                    t.hotLen = e.blockContent.length, s = a % t.hotLen, t.json = e;
                    for (var i = 0, o = 0; s > i;)t.json.blockContent.push(t.json.blockContent[i]), i += 1;
                    t.hotLen = t.json.blockContent.length, t.hotLen > t.movieNum ? t.$changeBtn.show() : t.$changeBtn.hide();
                    for (var n = t.json.blockContent.slice(0, 5), r = n.length, l = ""; r > o; o += 1)n[o].url && document.domain.indexOf("letv.com") >= 0 && n[o].url.indexOf("letv.com") < 0 && (n[o].url = n[o].url.replace(/le.com/, "letv.com")), l += "<a title=" + n[o].title + ' target="_blank" href="' + n[o].url + '" class="a_temp"><span class="d_img"><img data-src="' + n[o].pic1 + '" alt="' + n[o].title + '" src="' + n[o].pic1 + '" style="display: block;"><b class="bg"></b></span><span class="d_tit">' + (n[o].title || "") + '</span><span class="d_cnt">' + (n[o].subTitle || "") + "</span></a>";
                    $(".j-blockbuster").html(l)
                })
            }, initEvent: function () {
                var t = this;
                t.$changeBtn.on("click", function () {
                    var e = "", i = 0;
                    t.num++, t.num * t.movieNum >= t.hotLen ? t.num = 0 : "", i = t.hotLen - t.num * t.movieNum >= t.movieNum ? t.movieNum : t.hotLen - t.num * t.movieNum;
                    for (var a = 0; i > a; a++)e += "<a title=" + t.json.blockContent[t.movieNum * t.num + a].title + ' target="_blank" href="' + t.json.blockContent[t.movieNum * t.num + a].url + '" class="a_temp"><span class="d_img"><img data-src="' + t.json.blockContent[t.movieNum * t.num + a].pic1 + '" alt="' + t.json.blockContent[t.movieNum * t.num + a].title + '" src="' + t.json.blockContent[t.movieNum * t.num + a].pic1 + '" style="display: block;"><b class="bg"></b></span><span class="d_tit">' + (t.json.blockContent[t.movieNum * t.num + a].title || "") + '</span><span class="d_cnt">' + (t.json.blockContent[t.movieNum * t.num + a].subTitle || "") + "</span></a>";
                    $(".j-blockbuster").html(e), window.__INFO__ && 1 == window.__INFO__.cid && t._dataReport({
                        acode: 0,
                        ap: "ch=www&pg=play_v1&bk=lebbs&link=" + t.num + "_change"
                    })
                }), t.exposeAndClick(t.$ReYingcon), t.exposeAndClick(t.$zhongBangCon)
            }, exposeAndClick: function (t) {
                var i = this;
                t.length && (e.add({
                    point: t.offset().top, handler: function () {
                        i._dataReport({acode: "41", ap: "ch=www&pg=play_v1&bk=bianjiTuijian&link=bianjiTuijian_click"})
                    }
                }), t.on("click", ".a_temp", function () {
                    i._dataReport({acode: "0", ap: "ch=www&pg=play_v1&bk=bianjiTuijian&link=bianjiTuijian_click"})
                }))
            }, _dataReport: function (t) {
                Stats.sendAction({acode: t.acode, ap: t.ap})
            }
        };
        __INFO__ && __INFO__.video && i.init()
    }, require("bz/www_play/hotMovie"), LTK["bz/www_play/rate_v2"] = function (t, e, i) {
        var a = (LETV.using("App"), LETV.using("App.Play"), window.__INFO__ || {}), s = a.video || {}, o = (LETV.using("User"), LETV.using("User.Logon"), LETV.using("Utils"), LETV.using("Plugin"), Spirit.userLogin), n = t("bz/www_play/events"), s = __INFO__.video || {}, r = !0, l = !1;
        letv_login_cb.on("close", function (t) {
            l = !1
        }), letv_login_cb.on("logoutSuccess", function (t) {
            l = !1
        });
        var c = {
            obj: {saveScore: 0}, init: function () {
                var t = {oldWidth: $(".grade .s2").width(), everyWidth: $(".grade .s1").width() / 10};
                c.doScore(t, c.obj.saveScore)
            }, doScore: function (t, e) {
                var i = $(".grade .s1"), a = $(".grade .s2"), n = $(".grade .s3"), d = $(".star_box").find(".grade").find(".number").find("u"), p = ($(".star_box").find("grade").find(".number").find("i"), $(".star_box").find("grade").find(".number").find("em"), null), h = !1, u = function () {
                    d.show().animate({top: "-25px", opacity: "hide"}, function () {
                        $(this).css({top: "-5px"})
                    })
                };
                i.mousemove(function (e) {
                    bonus = parseInt((e.pageX - $(this).offset().left) / t.everyWidth) + 1, changeWidth = (parseInt((e.pageX - $(this).offset().left) / t.everyWidth) + 1) * t.everyWidth, a.css("width", changeWidth)
                }).mouseout(function () {
                    a.css("width", t.oldWidth)
                }).click(function () {
                    if (!h) {
                        clearTimeout(p), h = !0, i.hide(), n.html("提交中..").css({
                            display: "inline-block",
                            "text-align": "center"
                        });
                        var e = "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/apis/ScoreSubmit.php", a = {
                            type: s.pid > 0 ? "plist" : "video",
                            id: s.pid > 0 ? s.pid : s.mmsid,
                            cid: s.cid,
                            score: bonus
                        }, d = function () {
                            $.ajax({
                                type: "post", url: e, data: a, dataType: "jsonp", success: function (e) {
                                    "204" == e.code ? (clearTimeout(p), h = !0, i.hide(), n.html("您已评分。").show()) : "200" == e.code ? (clearTimeout(p), h = !0, i.hide(), n.html("评分成功！").show(), u(), c.updateUpCount(e.data.plist_count), c.updataUpScore(e.data.plist_score), t.oldWidth = 106 * e.data.plist_score / 10, c.updataUpvate(e.data.plist_score)) : "202" == e.code ? (o.openLetvLogin(), l = !0, r && letv_login_cb.on("loginSuccess", function (t) {
                                        l && (d(), l = !1, r = !1)
                                    })) : n.html("评分失败,请重试"), p = setTimeout(function () {
                                        n.hide(), i.fadeIn("fast"), h = !1
                                    }, 1500)
                                }
                            }), Stats.sendAction({
                                acode: "0",
                                ap: "ch=www&pg=play_v1&bk=Detail&link=grade",
                                targeturl: ""
                            })
                        };
                        d()
                    }
                })
            }, updateUpCount: function (t) {
                $(".grade .number i").html("(" + t + "人)")
            }, updataUpScore: function (t) {
                $(".grade .number em").html("" + t + "分")
            }, updataUpvate: function (t) {
                $(".grade span.s2").css("width", 106 * t / 10)
            }, formatNumFn: function (t) {
                if (parseInt(t, 10) >= 0) {
                    var e;
                    return 1e4 > t ? (t += "", e = 1e3 > t ? t : t.slice(0, 1) + "," + t.slice(1)) : e = 1e8 > t ? (t / 1e4).toFixed(1).toString() + " 万" : (t / 1e8).toFixed(1).toString() + " 亿", e
                }
                return ""
            }, initStarScore: function () {
                var t = window.__INFO__ && window.__INFO__.video || {}, e = this;
                s = __INFO__.video || {};
                var i, a, o, r, l, d, p, h = {pid: s.pid, mid: s.mmsid, cid: s.cid, vid: s.vid};
                $.ajax({
                    type: "POST",
                    url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/queryMmsTotalPCount",
                    data: h,
                    dataType: "jsonp",
                    success: function (h) {
                        e.dataNum = h, n.emit("rateSucc"), r = (1 == t.cid || 2 == t.cid || 5 == t.cid || 11 == t.cid || 16 == t.cid) && s && s.pid ? h.plist_play_count : h.media_play_count, 1 == t.cid || 2 == t.cid || 5 == t.cid || 11 == t.cid || 16 == t.cid && s && s.pid ? (l = h.pcomm_count, d = h.preply) : (l = h.vcomm_count, d = h.vreply), a = ("" + r).replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,"), i = e.formatNumFn(r), p = l + d, o = e.formatNumFn(p), $(".grade .s2").css("width", 106 * h.plist_score / 10), $("#video_playcount").text(i).attr("title", a), h && h.is_comm ? $("#video_commentcount").text(o) : $("#video_commentcount").parent(".li_02").hide(), 0 == h.plist_score && 0 == h.plist_count ? ($(".grade .number").find("i").text(""), $.ajax({
                            type: "GET",
                            url: "http://" + LETV.CONSTANT.host.API_LETV_COM + "/mms/out/album/get?platform=pc",
                            data: {pid: s.pid},
                            dataType: "jsonp",
                            success: function (t) {
                                t && t.score ? ($(".grade .number").find("em").text(t.score + "分"), $(".grade span.s2").css("width", 106 * t.score / 10)) : $(".grade .number").find("em").text("暂无评分"), c.init()
                            },
                            error: function () {
                                $(".grade .number").find("em").text("暂无评分")
                            }
                        })) : ($(".grade .number").find("em").text(h.plist_score + "分"), $(".grade .number").find("i").text("(" + h.plist_count + "人)"), c.init())
                    }
                })
            }
        };
        c.initStarScore(), i.exports = c
    }, require("bz/www_play/rate_v2"), LETV.Utils.gotoComment = function () {
        var t = require("air/util/gotoNode");
        t(".j-cmt-box", -35)
    }, LTK["bz/comment/apicode"] = function (t, e, i) {
        i.exports = {
            other: {
                notlogged: "用户未登录",
                error: "参数不正确",
                type: "评论类型不正确",
                "short": "评论内容过短",
                "long": "评论内容过长",
                content: "评论内容，最少1个字，最多140字",
                fail: "系统错误",
                time: "评论过于频繁",
                forbidIP: "评论ip限制",
                forbidUser: "评论用户限制",
                more: "5分钟发评论超过30条",
                repeat: "重复发评论内容",
                size: "图片尺寸不符合",
                format: "图片格式有误",
                voted: "已经投过",
                vote_expire: "投票已过期",
                200: "正确"
            },
            mark: {
                notlogged: "用户未登录",
                error: "参数错误",
                fail: "失败",
                marked: "已加精",
                notmarked: "未加精",
                ok: "成功",
                forbidUser: "用户无权限",
                forbidIP: "IP无权限"
            },
            msg: {
                notitle: "请输入投票标题",
                nooption: "选项内容还没有填写呢",
                opt_most: "最多只能添加8个选项",
                valid_textarea_max: "投票标题 最多25个汉字",
                valid_input_max: "每个投票项最多20个汉字"
            }
        }
    }, LTK["bz/comment/votetpl_v2"] = function (t, e, i) {
        i.exports = {
            voteItem: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : [[]] }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name"><a href="javascript:;" style="{styleColor}">{username}</a></dt><dd class="cmt-right"><a href="#"><i class="cmt-icon i-report"></i>举报</a></dd><dd class="cmt-head"><i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" /></dd><dd class="cmt-content">我发起了投票【{voteTitle}】大家快来投一票吧！</dd><dd class="cmt-vote j-cmt-vote" voteid="{voteid}"><p class="vote-title">{voteTitle}</p><ul class="vote-list j-vote-list" data-choice="{choice}">{voteOptions}</ul><p class="vote-btn">{voteBtn}</p><span class="cmt-error j-voteError"></span></dd><dd class="cmt-tool j-cmt-tool"><span class="cmt-time">{vtime}</span><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复"><i class="cmt-icon i-reply"></i><span class="j-i-reply-num">回复({replynum})</span></a><span href="javascript:;" class="tool-vote-icon"><i class="cmt-icon i-voteGray"></i>(<span class="j-voteTotal">{voteTotal}</span>)</span></dd><dd class="cmt-son j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}{ $._replyPageInfo ? $._replyPageInfo : [[]]}{ $._replyTextarea ? $._replyTextarea : [[]]}</dd></dl>'),
            showMoreReplysTpl: '<p class="cmt-replyMore j-cmt-replyMore " k-name="cmt/replyMore" title="显示更多{replysMoreNum}条回复">显示更多<b class="j-replyMore">{replysMoreNum}</b>条回复<i class="i-arrowsB"></i></p>',
            viewMoreReplysTpl: '<a class="cmt-replyMore j-cmt-replyMore " href="{commentUrl}" title="查看更多{replysMoreNum}条回复">查看更多<b class="j-replyMore">{replysMoreNum}</b>条回复 > </a>',
            prevNexPageTpl: '<a href="javascript:void(0);" class="next-btn j-cmt-pre-page {preDisabled}" title="上一页">上一页</a>{comNum}<a href="javascript:void(0);" class="next-btn j-cmt-nex-page {nexDisabled}" title="下一页">下一页</a>',
            jCmtReplyTextareaTpl: new Tpl('<div class="cmt-textarea j-cmt-reply-textarea" {showReplyTextara} data-cmtid="{$.cmtId ? $.cmtId : [[]]}"  data-pid="{$.pid ? $.pid : [[]]}" data-xid="{$.xid ? $.xid : [[]]}" data-cid={$.cid ? $.cid : [[]]}><div class="cmt-userWork j-cmt-userWork"><textarea placeholder="有什么感想，您也来说说吧！" rows="" cols="" name="" class="j-comment-ta" k-name="cmt/edit">有什么感想，您也来说说吧！</textarea></div><div class="cmt-userInfo j-cmt-userInfo"><span class="cmt-btmBlue j-cmt-btmBlue" k-name="cmt/editAction" title="回复">回复</span><span class="cmt-txtNum"><b class="j-txtNum">0</b><b>/140</b></span><span title="切换用户" k-name="cmt/changeUser" class="cmt-changeUser j-cmt-changeUser"><i class="cmt-icon i-cutuser"></i>切换用户</span></div><div class="cmt-popTips"><p class="cnt oneLine"></p></div></div> '),
            textSonItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : ($.commentid ? $.commentid : [[]] ) }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="{styleColor}">{username}</{$.isLoginUsername ? [[a]] : [[span]]}>{$.replySbd ? (!$.isLoginReplyname ? [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]]  : [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]] ): [[]]}<span class="cmt-time">{vtime}</span></dt><dd class="cmt-right  j-cmt-right"><a href="javascript:void(0);"  k-name="cmt/report" title="举报"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar"><i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" /></dd><dd class="cmt-content">{content}</dd><dd class="cmt-tool j-cmt-tool"><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞"><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复"><i class="cmt-icon i-reply"></i>回复</a></dd></dl>'),
            multiOptResult: '<li><label class="vote-item j-selectOpt"><input{btnDisabled} type="checkbox" name="{name}" optid="{optId}">{optText}</label><p class="vote-scrollBox"><span class="vote-scroll-bg"><span class="vote-scroll{bastStyle}" style="width:{proportion};"></span></span><span class="vote-scroll-num">{result}({proportion})</span></p></li>',
            singleOptResult: '<li><label class="vote-item"><input{btnDisabled} type="radio" name="{name}" optid="{optId}">{optText}</label><p class="vote-scrollBox"><span class="vote-scroll-bg"><span class="vote-scroll{bastStyle}" style="width:{proportion};"></span></span><span class="vote-scroll-num">{result}({proportion})</span></p></li>',
            multiOpt: '<li><label class="vote-item"><input{btnDisabled} class="j-selectOpt" type="checkbox" name="{name}" optid="{optId}">{optText}</label></li>',
            singleOpt: '<li><label class="vote-item"><input{btnDisabled} type="radio" name="{name}" optid="{optId}">{optText}</label></li>',
            createVote: '<table class="popup pop-vote"><tr><td class="pop-outlineW" colspan="3"></td></tr><tr><td class="pop-outlineH"></td><td><div class="pop-content"><span class="pop-closed"><i class="cmt-icon i-closed"></i></span><h4 class="pop-title">创建投票</h4><ul class="pop-list"><li><textarea class="pop-textarea j-vote-ta j-opt" placeholder="投票标题 最多25个字"></textarea></li><li><input type="text" class="pop-text j-opt" placeholder="选项1，至少两项，每项最多20个字"/><span class="pop-tempBox"></span></li><li><input type="text" class="pop-text j-opt" placeholder="选项2"/><span class="pop-tempBox"></span></li></ul><div class="pop-addItem"><i class="cmt-icon i-addItem"></i>添加选项</div><div class="pop-edit pop-default"><p class="edit-switch">高级设置：<i class="cmt-icon i-arrowsTBlue"></i></p><div class="edit-item j-type">类型：<span class="pop-selec"><span id="type-input">单选</span><i class="cmt-icon i-arrowsTBlue"></i></span><ul class="pop-selec-list j-list-select"><li data-value="1">单选</li></ul></div><div class="edit-item j-time">截止日期：<span class="pop-selec"><span id="time-input">半年</span><i class="cmt-icon i-arrowsTBlue"></i></span><ul class="pop-selec-list j-list-time"><li data-value="+1 day">1天</li><li data-value="+1 week">1周</li><li data-value="+1 month">1个月</li><li data-value="+3 month">3个月</li><li data-value="+6 month">半年</li></ul></div><p class="edit-item j-result">投票结果：<lable><input tabindex="-1" type="radio" name="result" value="vs1">任何人可见</lable><lable><input tabindex="-1" type="radio" name="result" value="vs0" checked="checked">投票后可见</lable></p></div><div class="pop-bottom"><span class="cmt-btmBlue j-send">创建</span><span class="cmt-cancel">取消</span><span class="cmt-error"></span></div></div></td><td class="pop-outlineH"></td></tr><tr><td class="pop-outlineW" colspan="3"></td></tr></table>',
            addOption: '<li><input type="text" class="pop-text j-opt" placeholder="选项{num}"/><span class="pop-tempBox"></span><span class="pop-itemRemove"><i class="cmt-icon i-remove"></i></span></li>',
            loading: '<div class="section-loding">加载中...</div>',
            noVote: '<p class="cmt-empty j-cmt-empty"><i class="nocmt"></i><span>英雄，快来抢沙发！</span></p>'
        }
    }, LTK["bz/comment/common"] = function (t, e, i) {
        var a = {
            init: function () {
                this._initDom(), this._initEvent()
            }, _initDom: function () {
                this.$allListBox = $(".j-cmt-listTxt"), this.$voteListBox = $(".j-cmt-listVote"), this.$picListBox = $(".j-cmt-listPic")
            }, _initEvent: function () {
                var t = this;
                Ker.on("cmt/allcomment", function (e) {
                    t._getComments(e)
                })
            }, _changeContent: function (t, e, i) {
                "function" == typeof i && setTimeout(function () {
                    i()
                }, 100)
            }, share: function (t) {
                var e = document.createElement("script"), i = document.getElementsByTagName("script")[0];
                e.id = "bdshell_js", e.type = "text/javascript", e.async = !0, e.src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date / 36e5), i.parentNode.insertBefore(e, i)
            }
        };
        a.init(), i.exports = a
    }, require("bz/comment/common"), LTK["air/ui/Selector"] = function (t, e, i) {
        var a = function (t) {
            this.activeClass = t.activeClass || "j-active", this.onSelect = t.onSelect || function () {
                }, this.tagName = t.tagName || "li", this.$list = t.$list, this.$input = t.$input;
            var e = this, i = !0, a = !1;
            t.$list.on("click", function (t) {
                var a = t.target;
                a.nodeName.toLowerCase() === e.tagName && (e.selectOption(a), i = !0)
            });
            var s = t.onListShow || function () {
                }, o = t.onListHide || function () {
                };
            t.$input.on("click", function () {
                e.$list.show(), a = !0, i = !1, s()
            }), $(document.body).on("click", function () {
                setTimeout(function () {
                    i && a && (e.$list.hide(), a = !1, o()), i = !0
                }, 10)
            }), t = null
        };
        a.prototype = {
            _val: "", _text: "", val: function () {
                return this._val
            }, text: function () {
                return this._text
            }, selectOption: function (t) {
                if (t) {
                    this._val = t.getAttribute("data-value"), this._text = t.innerHTML;
                    var e = this.activeClass;
                    this.$list.find("." + e).removeClass(e), $(t).addClass(e), this.onSelect(this._val, this._text)
                }
            }, select: function (t) {
                var e = this.$list.find(this.tagName), i = e.length;
                0 > t && (t += i);
                var a = e.get(t);
                this.selectOption(a)
            }, index: function () {
                for (var t = this.$list.find(this.tagName), e = 0, i = t.length, a = "." + this.activeClass; i > e; e++)if (t.eq(e).is(a))return e;
                return -1
            }
        }, i.exports = a
    }, LTK["bz/comment/votetpl"] = function (t, e, i) {
        i.exports = {
            voteItem: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : [[]] }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name"><a href="javascript:;">{username}</a><span class="cmt-time">{vtime}</span></dt><dd class="cmt-right"><a href="#"><i class="cmt-icon i-report"></i>举报</a></dd><dd class="cmt-head"><i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" /></dd><dd class="cmt-content">我发起了投票【{voteTitle}】大家快来投一票吧！</dd><dd class="cmt-vote j-cmt-vote" voteid="{voteid}"><p class="vote-title">{voteTitle}</p><ul class="vote-list j-vote-list" data-choice="{choice}">{voteOptions}</ul><p class="vote-btn">{voteBtn}</p><span class="cmt-error j-voteError"></span></dd><dd class="cmt-tool j-cmt-tool"><span href="javascript:;" class="tool-vote-icon"><i class="cmt-icon i-voteGray"></i>(<span class="j-voteTotal">{voteTotal}</span>)</span><b>|</b><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复"><i class="cmt-icon i-reply"></i><span class="j-i-reply-num">回复({replynum})</span></a></dd><dd class="cmt-son j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}{ $._replyPageInfo ? $._replyPageInfo : [[]]}{ $._replyTextarea ? $._replyTextarea : [[]]}</dd></dl>'),
            showMoreReplysTpl: '<p class="cmt-replyMore j-cmt-replyMore " k-name="cmt/replyMore" title="显示更多{replysMoreNum}条回复">显示更多<b class="j-replyMore">{replysMoreNum}</b>条回复<i class="i-arrowsB"></i></p>',
            viewMoreReplysTpl: '<a class="cmt-replyMore j-cmt-replyMore " href="{commentUrl}" title="查看更多{replysMoreNum}条回复">查看更多<b class="j-replyMore">{replysMoreNum}</b>条回复 > </a>',
            prevNexPageTpl: '<a href="javascript:void(0);" class="next-btn j-cmt-pre-page {preDisabled}" title="上一页">上一页</a><a href="javascript:void(0);" class="next-btn j-cmt-nex-page {nexDisabled}" title="下一页">下一页</a>',
            jCmtReplyTextareaTpl: new Tpl('<div class="cmt-textarea j-cmt-reply-textarea" {showReplyTextara} data-cmtid="{$.cmtId ? $.cmtId : [[]]}"  data-pid="{$.pid ? $.pid : [[]]}" data-xid="{$.xid ? $.xid : [[]]}" data-cid={$.cid ? $.cid : [[]]}><div class="cmt-userHead j-cmt-userHead " k-name="cmt/avatar"><a href="{$.configUserAvatarUrl ? $.configUserAvatarUrl : [[javascript:void(0);]] }" title="设置头像" ><i class="cmt-userHead-bg"></i><img src="{$.loginAvatar ? $.loginAvatar : [[]]}" alt="{$.loginUsername ? $.loginUsername : [[]]}" title="{$.loginUsername ? $.loginUsername : [[]]}" /></a></div><div class="cmt-userWork j-cmt-userWork"><textarea placeholder="我也说句话" rows="" cols="" name="" class="j-comment-ta" k-name="cmt/edit">我也说句话</textarea><span class="cmt-txtNum"><b class="j-txtNum">0</b><b>/140</b></span></div><div class="cmt-userInfo j-cmt-userInfo"><span class="cmt-btmBlue j-cmt-btmBlue" k-name="cmt/editAction" title="回复">回复</span></div></div> '),
            textSonItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : ($.commentid ? $.commentid : [[]] ) }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="color:#529BEF">{username}</{$.isLoginUsername ? [[a]] : [[span]]}>{$.replySbd ? (!$.isLoginReplyname ? [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]]  : [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]] ): [[]]}<span class="cmt-time">{vtime}</span></dt><dd class="cmt-right  j-cmt-right"><a href="javascript:void(0);"  k-name="cmt/report" title="举报"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar"><i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" /></dd><dd class="cmt-content">{content}</dd><dd class="cmt-tool j-cmt-tool"><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞"><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a><b>|</b><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复"><i class="cmt-icon i-reply"></i>回复</a></dd></dl>'),
            multiOptResult: '<li><label class="vote-item j-selectOpt"><input{btnDisabled} type="checkbox" name="{name}" optid="{optId}">{optText}</label><p class="vote-scrollBox"><span class="vote-scroll-bg"><span class="vote-scroll{bastStyle}" style="width:{proportion};"></span></span><span class="vote-scroll-num">{result}({proportion})</span></p></li>',
            singleOptResult: '<li><label class="vote-item"><input{btnDisabled} type="radio" name="{name}" optid="{optId}">{optText}</label><p class="vote-scrollBox"><span class="vote-scroll-bg"><span class="vote-scroll{bastStyle}" style="width:{proportion};"></span></span><span class="vote-scroll-num">{result}({proportion})</span></p></li>',
            multiOpt: '<li><label class="vote-item"><input{btnDisabled} class="j-selectOpt" type="checkbox" name="{name}" optid="{optId}">{optText}</label></li>',
            singleOpt: '<li><label class="vote-item"><input{btnDisabled} type="radio" name="{name}" optid="{optId}">{optText}</label></li>',
            createVote: '<table class="popup pop-vote"><tr><td class="pop-outlineW" colspan="3"></td></tr><tr><td class="pop-outlineH"></td><td><div class="pop-content"><span class="pop-closed"><i class="cmt-icon i-closed"></i></span><h4 class="pop-title">创建投票</h4><ul class="pop-list"><li><textarea class="pop-textarea j-vote-ta j-opt" placeholder="投票标题 最多25个字"></textarea></li><li><input type="text" class="pop-text j-opt" placeholder="选项1，至少两项，每项最多20个字"/><span class="pop-tempBox"></span></li><li><input type="text" class="pop-text j-opt" placeholder="选项2"/><span class="pop-tempBox"></span></li></ul><div class="pop-addItem"><i class="cmt-icon i-addItem"></i>添加选项</div><div class="pop-edit pop-default"><p class="edit-switch">高级设置：<i class="cmt-icon i-arrowsTBlue"></i></p><div class="edit-item j-type">类型：<span class="pop-selec"><span id="type-input">单选</span><i class="cmt-icon i-arrowsTBlue"></i></span><ul class="pop-selec-list j-list-select"><li data-value="1">单选</li></ul></div><div class="edit-item j-time">截止日期：<span class="pop-selec"><span id="time-input">半年</span><i class="cmt-icon i-arrowsTBlue"></i></span><ul class="pop-selec-list j-list-time"><li data-value="+1 day">1天</li><li data-value="+1 week">1周</li><li data-value="+1 month">1个月</li><li data-value="+3 month">3个月</li><li data-value="+6 month">半年</li></ul></div><p class="edit-item j-result">投票结果：<lable><input tabindex="-1" type="radio" name="result" value="vs1">任何人可见</lable><lable><input tabindex="-1" type="radio" name="result" value="vs0" checked="checked">投票后可见</lable></p></div><div class="pop-bottom"><span class="cmt-btmBlue j-send">创建</span><span class="cmt-cancel">取消</span><span class="cmt-error"></span></div></div></td><td class="pop-outlineH"></td></tr><tr><td class="pop-outlineW" colspan="3"></td></tr></table>',
            addOption: '<li><input type="text" class="pop-text j-opt" placeholder="选项{num}"/><span class="pop-tempBox"></span><span class="pop-itemRemove"><i class="cmt-icon i-remove"></i></span></li>',
            loading: '<div class="section-loding">加载中...</div>',
            noVote: '<p class="cmt-empty j-cmt-empty">暂无评论<a href="javascript:;" k-name="cmt/saySth">立即发表评论</a></p>'
        }
    }, LTK["bz/comment/cmt_pager"] = function (t, e, i) {
        if ("www_play" == __INFO__.pageid)var a = t("bz/comment/votetpl_v2"); else var a = t("bz/comment/votetpl");
        var s = function (t, e) {
            var i, s = this.getCommentContainer(), o = "", n = nexDisabled = !1;
            i = Math.ceil(t / this.pageCommentsCnt), currentPage = e || 0;
            var r = function (t, e) {
                var i = "", a = 0;
                if (t > 0)for (var s = 0; t > s; s++)a = (e ? e : 1) + s, i += '<a href="javascript:void(0);" title="第' + a + '页" class="' + (currentPage == a ? "selected" : "") + '">' + a + "</a>";
                return i
            };
            if (currentPage - 4 > 3) {
                o += '<a href="javascript:void(0);" title="第1页">1</a><b>...</b>';
                for (var l = currentPage - 4; l < currentPage && i > l; l++)o += '<a href="javascript:void(0);" title="第' + l + '页" class="' + (currentPage == l ? "selected" : "") + '">' + l + "</a>"
            } else o += r(currentPage - 1);
            if (currentPage + 6 < i) {
                for (var c = mm = currentPage; c <= mm + 4 && i > c; c++)o += '<a href="javascript:void(0);"  title="第' + c + '页" class="' + (currentPage == c ? "selected" : "") + '">' + c + "</a>";
                o += "<b>...</b>"
            } else o += r(i - currentPage + 1, currentPage);
            var d = s.find(".j-cmt-page");
            1 == currentPage && (n = !0), i == currentPage && (nexDisabled = !0), 1 == i && (n = nexDisabled = !0);
            var p = Tpl.simple(a.prevNexPageTpl, {
                    preDisabled: n ? "disable" : "",
                    nexDisabled: nexDisabled ? "disable" : "",
                    comNum: o
                }) || "";
            d.html(p), d.is(":visible") || d.show()
        }, o = function (t, e) {
            var i, a = 0, o = 0;
            i = 1 == t.rule && t.authData && t.authData.length ? t.authData.concat(t.data || []) : t.data || t.replys || [], o = t.total || t.replynum || 0, a = e || 1, s.call(this, o, a)
        }, n = function (t, e, i, a) {
            var s = 0;
            s = this.pageIndex || this.singleCmtPageIndex || 1, cmtType = this.pageType || "", r.call(this, t, e, i, s, a, cmtType)
        }, r = function (t, e, i, a, s, o) {
            var n, r, l, c = this.getCommentContainer(), d = "", p = "", h = a, u = c.find(".j-pageAt"), m = c.find(".j-pageAll"), v = "all" == o ? 20 : 10;
            i || t && !(a > t) ? v >= t ? m.parents(".j-page-info").hide() : m.parents(".j-page-info").show() : m.parents(".j-page-info").hide(), s || (s = 0), n = u.first(), r = m.first(), p = r.text(), d = (h - 1) * this.pageCommentsCnt + 1, 1 > e && (e = 1), i && (e = 0);
            var f = i ? parseInt(p) + 1 : d + e - 1;
            f = f > this.pageCommentsCnt * h ? this.pageCommentsCnt * h : f, f = f > 0 ? f : 1, l = "all" == this.pageType ? 20 : 10, parseInt(t / l) + 1 == a && (f = t);
            var _ = d + "-" + f;
            d == f && (_ = f), u.text(_);
            var g = i ? parseInt(p) + 1 : t;
            e && e < this.pageCommentsCnt && f + s != g && (g = f), m.text("共" + t)
        };
        i.exports = {updatePager: o, doUpdatePager: s, updatePagerAt: n, doUpdatePagerAt: r}
    }, LTK["bz/comment/getReply"] = function (t, e, i) {
        if ("www_play" == __INFO__.pageid)var a = t("bz/comment/votetpl_v2"); else var a = t("bz/comment/votetpl");
        var s = {
            makeHtmlItem: function (t) {
                return htmlStr = "", htmlStr += a.textSonItemTpl.render(t, function (t) {
                    t.content;
                    t.username = t.user ? t.user.username : "", t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t._avatar = t.user ? t.user.photo : defaultAvatar, t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.vid || ""), t.reply && t.reply.user && (replyUserName = t.reply.user && t.reply.user.username || "", t.replySbd = t.username == replyUserName ? "" : replyUserName, t.isLoginReplyname = loginUsername === replyUserName)
                }), htmlStr
            }, getReplyHtml: function (t) {
                var e = "";
                if (t && t.length)for (var i = 0; i < t.length; i++)e += this.makeHtmlItem(t[i]);
                return e
            }
        };
        i.exports = s
    }, LTK["bz/comment/get_reply_ta"] = function (t, e, i) {
        if ("www_play" == __INFO__.pageid)var a = t("bz/comment/votetpl_v2"); else var a = t("bz/comment/votetpl");
        var s = {
            getReplyTextArea: function (t) {
                var e = 'style="display:none;"', i = {
                    loginAvatar: Cookie.get("ssouid") ? Spirit.UserValidate.getUserInfo().headicon_50 : "",
                    loginUsername: LETV.cookie("sso_nickname") || ""
                };
                return i.showReplyTextara = e, Cookie.get("ssouid") && (i.configUserAvatarUrl = "http://" + LETV.CONSTANT.host.MY_LETV_COM + "/setting/icon/"), a.jCmtReplyTextareaTpl.render(i) || ""
            }
        };
        i.exports = s
    }, LTK["bz/comment/commentCeiling"] = function (t, e, i) {
        function a(t) {
            $.each(t, function (t, e) {
                e.removeClass("j-cmt-textarea-scrollR j-cmt-textarea-scroll j-cmt-scroll_bottom")
            }), $("#textOccupying,#plOccupying").height(0)
        }

        var s = {};
        if ("undefined" != typeof __INFO__.pageid && "www_play" == __INFO__.pageid) {
            var o, n, r, l, c, d, p = $(".vote_comment"), h = $(".j-Comment"), u = $(".le_other"), m = $("#plOccupying"), v = $("#textOccupying"), f = $("#JS_banner_lef_01"), _ = $("#JS_banner_lef_02"), g = {
                $navH: $(".layout").height(),
                $parentsH: u.height(),
                $parentsT: u.offset().top,
                $commentH: h.height(),
                $commentT: h.offset().top,
                $replyH: p.height(),
                $replyT: p.offset().top,
                timer: null,
                revertKey: !1
            }, y = t("bz/www_play/events");
            s = {
                init: function () {
                    this.beforePos(), this.clearComment(), this.clearTextarea(), this.initDom()
                }, changeSize: function () {
                    g.$parentsH = u.height(), g.$commentT = h.offset().top, g.$commentH = h.height(), g.$replyT = p.offset().top, l = m.offset().top, c = v.offset().top
                }, initDom: function () {
                    this.changeSize(), this.scroll(), this.resize(), this.showAd()
                }, scroll: function () {
                    var t = u.find(".le_reying"), e = $("#JS_banner02"), i = $(".le_hotplay");
                    $(window).scroll(function () {
                        o = $(window).height() > $(".Comment").height(), l = m.offset().top, c = v.offset().top, g.$parentsH = u.height(), g.$commentH = h.height(), n = f.is(":visible") ? f.outerHeight(!0) : f.outerHeight(), r = _.is(":visible") ? _.outerHeight(!0) : _.outerHeight();
                        var s = t.height() || 0, y = e.height() || 0, b = i.height() || 0, w = 0;
                        u.find(".le_resp").each(function () {
                            w += $(this).height()
                        }), d = u.height() - h.height() - n - r - w - s - y - b + 4, g.$replyH = p.height(), IE6 ? o ? $(window).scrollTop() > l - g.$navH - 8 ? (h.addClass("j-cmt-textarea-scrollR"), $(window).scrollTop() < g.$parentsH + g.$parentsT - g.$commentH - (g.$navH + 8) ? h.css("top", $(window).scrollTop() - l + 45) : h.css("top", d)) : (h.removeClass("j-cmt-textarea-scrollR"), h.css("top", "")) : $(window).scrollTop() > c - g.$navH - 8 ? (p.addClass("j-cmt-textarea-scrollR"), $(window).scrollTop() < g.$parentsH + g.$parentsT - g.$replyH - (g.$navH + 14) && p.css("top", $(window).scrollTop() - l - 8)) : p.removeClass("j-cmt-textarea-scrollR").css("top", "") : (a([h, p]), o ? $(window).scrollTop() > l - g.$navH - 8 && ($(window).scrollTop() < u.height() + u.offset().top - h.height() - 30 ? h.removeClass("j-cmt-scroll_bottom").addClass("j-cmt-textarea-scroll") : h.removeClass("j-cmt-textarea-scroll").addClass("j-cmt-scroll_bottom"), m.height(g.$commentH)) : $(window).scrollTop() > c - g.$navH - 8 && ($(window).scrollTop() < g.$parentsH + g.$parentsT - g.$replyH - (g.$navH + 14) ? p.removeClass("j-cmt-scroll_bottom").addClass("j-cmt-textarea-scroll") : p.removeClass("j-cmt-textarea-scroll").addClass("j-cmt-scroll_bottom"), $("#textOccupying").height(g.$replyH)))
                    })
                }, resize: function () {
                    $(window).resize(function () {
                        clearTimeout(g.timer), g.timer = setTimeout(function () {
                            s.init(), s.clearComment(), s.clearTextarea(), s.changeSize(), $(window).trigger("scroll")
                        }, 500)
                    })
                }, showAd: function () {
                    y.on("ad.left.render", function () {
                        s.init(), s.clearComment(), s.clearTextarea(), s.changeSize(), $(window).trigger("scroll")
                    })
                }, commentShow: function (t) {
                    (p.hasClass("j-cmt-textarea-scrollR") || p.hasClass("j-cmt-textarea-scroll") || h.hasClass("j-cmt-textarea-scrollR") || h.hasClass("j-cmt-textarea-scroll")) && t && t()
                }, clearTextarea: function () {
                    p.css("top", "").removeClass("j-cmt-textarea-scrollR").removeClass("j-cmt-textarea-scroll")
                }, clearComment: function () {
                    h.css("top", "").removeClass("j-cmt-textarea-scrollR").removeClass("j-cmt-textarea-scroll")
                }, beforePos: function () {
                    0 == m.length && (h.before("<div id='plOccupying'></div>"), m = $("#plOccupying"), l = $("#plOccupying").offset().top), 0 == v.length && (p.before("<div id='textOccupying'></div>"), v = $("#textOccupying"), c = $("#textOccupying").offset().top)
                }
            }, i.exports = s
        }
    }, require("bz/comment/commentCeiling"), LTK["bz/comment/vote"] = function (t, e, i) {
        var a = LETV.using("Utils"), s = t("bz/comment/apicode"), o = t("air/ui/Selector"), n = t("bz/comment/common"), r = t("bz/comment/cmt_pager"), l = t("bz/comment/getReply"), c = t("bz/comment/get_reply_ta"), d = !0, p = window.__INFO__.video;
        if ("www_play" == __INFO__.pageid) {
            var h = LTK.use("bz.comment.votetpl_v2"), u = LTK.use("bz.comment.CommentList_v3"), m = t("bz/comment/commentCeiling");
            letv_login_cb.on("logoutSuccess", function () {
                d = !0
            })
        } else var h = LTK.use("bz.comment.votetpl"), u = LTK.use("bz.comment.CommentList_v2");
        var v = {
            lock: !1,
            c_defaultComment: "投票标题 最多25个字",
            cmtDetailUrl: "http://" + LETV.CONSTANT.host.PINGLUN_LETV_COM + "/commontfeed/index.shtml",
            pageIndex: 0,
            pageType: "vote",
            pageCommentsCnt: 10,
            getCommentContainer: function () {
                return $(".j-cmt-listVote")
            },
            init: function () {
                p = window.__INFO__.video, this._initDom(), this._initEvent(), this.items = [], this.voteTitle = ""
            },
            _initDom: function () {
                this.$voteBox = $("#voteBox"), this.$btnVote = $(".cmt-voteBtn"), this.$titleBox = $(".j-cmt-kinds"), this.$allListBox = $(".j-listTxt"), this.$voteListBox = $(".j-cmt-listVote"), this.$picListBox = $(".j-cmt-listPic")
            },
            _initContentEvent: function () {
                var t = this;
                Ker.on("cmt/votecomment", function (e) {
                    t._getComment(e), "www_play" == __INFO__.pageid && m.commentShow(function () {
                        u.scrollToNode(), m.clearComment(), m.clearTextarea()
                    })
                }), Ker.on("cmt/joinVote", function (e) {
                    t._joinVote(e), "www_play" == __INFO__.pageid && (m.clearComment(), m.clearTextarea(), $(window).trigger("scroll"))
                })
            },
            _initEvent: function () {
                var e = this;
                this.$btnVote.on("click", function () {
                    $(".j-cmt-textarea").hasClass("j-cmt-textarea-scroll") ? e.$voteBox.css({top: $(window).scrollTop() - $("#plOccupying").offset().top}) : e.$voteBox.css("top", "auto"), e._open(), e._setting(e.$voteBox.find(".edit-switch")), "www_play" == __INFO__.pageid && Stats.sendAction({
                        acode: "0",
                        ap: "ch=www&pg=play_v1&bk=newcomment&link=vote",
                        targeturl: ""
                    })
                }), this.$voteBox.on("click", function (i) {
                    var a = $(i.target);
                    a.is(".pop-addItem") ? e._addOption() : a.is(".i-remove") ? e._removeOption(i) : a.is(".i-closed, .cmt-cancel") ? e._close() : a.is(".j-send") && ("www_play" == __INFO__.pageid ? Cookie.get("ssouid") ? e._postVote() : (dataReport = "cmt_j-cmt-listVote_reply", t("bz/comment/utils").openWindow(dataReport), $(".j-cmt-kinds").find(".j-cmt-vote").hasClass("selected") && (d = !1), Spirit.Event.addEvent("loginSuccess", function (t) {
                        "auto" === t.type ? $(".j-send").trigger("click") : $(".j-send").trigger("click")
                    })) : e._postVote())
                }), $(".Comment").delegate(".j-selectOpt", "click", function (t) {
                    e._selectOpt(t)
                }), this._initContentEvent()
            },
            _open: function () {
                if (!this.$voteBox.html().length) {
                    p.endtime = "+6 month", p.choice = 1, this.$voteBox.html(h.createVote);
                    var t = this.$voteBox.find(".j-list-select"), e = this.$voteBox.find(".j-list-time"), i = this.$voteBox.find("#type-input"), a = this.$voteBox.find("#time-input");
                    this.typeSelector = new o({
                        $list: t, $input: i, activeClass: "selected", onSelect: function (t, e) {
                            i.html(e), p.choice = t
                        }, onListShow: function () {
                            t.parents(".j-type").addClass("edit-selected")
                        }, onListHide: function () {
                            t.parents(".j-type").removeClass("edit-selected")
                        }
                    });
                    new o({
                        $list: e, $input: a, activeClass: "selected", onSelect: function (t, e) {
                            a.html(e), p.endtime = t
                        }, onListShow: function () {
                            e.parents(".j-time").addClass("edit-selected")
                        }, onListHide: function () {
                            e.parents(".j-time").removeClass("edit-selected")
                        }
                    });
                    this.$voteBox.find("input, textarea").placeholder()
                }
            },
            _close: function () {
                this.$voteBox.empty()
            },
            _addOption: function () {
                var t = h.addOption, e = this.$voteBox.find(".pop-list"), i = e.find("li").length, a = this.$voteBox.find(".cmt-error");
                if (i > 8) {
                    a.html(s.msg.opt_most);
                    var o = setTimeout(function () {
                        a.html(""), o = null
                    }, 2e3);
                    return !1
                }
                t = t.replace(/{num}/g, i), e.append(t), this._createTypeOpt()
            },
            _removeOption: function (t) {
                $(t.target).parents("li").remove(), this._createTypeOpt()
            },
            _selectOpt: function (t) {
                var e = $(t.target), i = e.parents("ul"), a = i.attr("data-choice");
                return "1" == e.find("input").attr("disable") ? !1 : (i.find("input").attr("disabled", !0), void(i.find("input:checked").length >= a ? i.find("input:checked").attr("disabled", !1) : i.find("input").attr("disabled", !1)))
            },
            _setting: function (t) {
                var e = this.$voteBox.find(".pop-edit");
                t.toggle(function () {
                    $(this).find("i").removeClass("i-arrowsTBlue").addClass("i-arrowsBGray"), e.removeClass("pop-default")
                }, function () {
                    $(this).find("i").removeClass("i-arrowsBGray").addClass("i-arrowsTBlue"), e.addClass("pop-default")
                })
            },
            _createTypeOpt: function () {
                var t = this.$voteBox.find(".pop-list li").length, e = '<li data-value="1">单选</li>';
                if (t > 2) {
                    for (var i = 2; t - 1 > i; i += 1)e += '<li data-value="' + i + '">最多选' + i + "项</li>";
                    $(".j-list-select").html(e)
                }
                this.typeSelector && this.typeSelector.select(0)
            },
            safeActiveElement: function () {
                try {
                    return document.activeElement
                } catch (t) {
                }
            },
            clearPlaceholder: function (t) {
                var e = t, i = $(e);
                e.value == i.attr("placeholder") && i.hasClass("placeholder") && (e.value = "", i.removeClass("placeholder"), e == this.safeActiveElement() && e.select())
            },
            setPlaceholder: function (t) {
                var e = t, i = $(e);
                e.id;
                "" == e.value ? (i.addClass("placeholder"), i[0].value = i.attr("placeholder")) : i.removeClass("placeholder")
            },
            _validate: function () {
                var t = this, e = !0, i = this.$voteBox.find(".cmt-error");
                this.items = [], this.voteTitle = "";
                var o = $(".placeholder").each(function () {
                    t.clearPlaceholder(this)
                });
                if (setTimeout(function () {
                        o.each(function () {
                            t.setPlaceholder(this)
                        })
                    }, 10), this.$voteBox.find("textarea, input").each(function (o, n) {
                        var r = $.trim(n.value), l = a.reallength(r);
                        if ("textarea" === n.type) {
                            if (t.voteTitle = r, l > 50)return i.html(s.msg.valid_textarea_max), e = !1, !1;
                            if (0 == l)return i.html(s.msg.notitle), e = !1, !1
                        } else if ("text" === n.type) {
                            if (l > 40)return i.html(s.msg.valid_input_max), e = !1, !1;
                            if (0 === l)return i.html(s.msg.nooption), e = !1, !1;
                            t.items.push(n.value)
                        }
                    }), !e)var n = setTimeout(function () {
                    i.html(""), n = null
                }, 2e3);
                return e
            },
            _postVote: function () {
                if (!this._validate() || this.lock === !0)return !1;
                this.lock = !0;
                var t = this, e = this.$voteBox.find(".cmt-error"), i = {
                    xid: p.vid,
                    pid: p.pid,
                    cid: p.cid,
                    title: this.voteTitle,
                    show: this.$voteBox.find('input[name="result"]:checked').val() || "vs0",
                    choice: p.choice || 1,
                    endtime: p.endtime || "+6 month",
                    items: this.items.join(","),
                    ctype: "vote"
                };
                $.ajax({
                    url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/vote/add?jsonp=?",
                    dataType: "jsonp",
                    data: i,
                    success: function (i) {
                        if (t.lock = !1, "200" !== i.result) {
                            e.html(s.other[i.result]);
                            var a = setTimeout(function () {
                                e.html(""), a = null
                            }, 2e3);
                            return !1
                        }
                        t._close(), "www_play" == __INFO__.pageid ? (d ? t._cb_insert(i) : d = !0, u.scrollToNode(), m.clearComment(), m.clearTextarea(), $(window).trigger("resize"), $(".j-cmt-listTxt").find(".j-listContent").hide()) : t._cb_insert(i)
                    }
                })
            },
            _cb_insert: function (t) {
                var e = this, i = this.$titleBox.find("li:first");
                n._changeContent(i, !0, function () {
                    var i;
                    i = "undefined" != typeof votaDota && 1 === t.rule && t.authData && t.authData.length ? t.authData.concat(t.data) : t.data || [];
                    var a = e._makeHtml(i);
                    e.$allListBox.prepend(a), 200 == t.result && e.$allListBox.find(".j-cmt-empty").hide()
                })
            },
            getCmtDetailUrl: function (t) {
                var e = "", i = "", a = t;
                return i = t.title || "", i || (i = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.title || "乐视网"), showVideo = "y" == t.ifpic ? 1 : 0, e = this.cmtDetailUrl + "?", e += "c1=" + escape(a._id), e += "&c2=" + escape(a.pid), e += "&c3=" + escape(a.cid), e += "&c4=" + escape(a.xid), e += "&c5=" + escape(a.htime || ""), e += "&c6=" + escape(showVideo), e += "&t=" + escape(i), e += "&ba=" + escape(window.location.href)
            },
            _makeHtml: function (t) {
                var e = this;
                return h.voteItem.render(t, function (t) {
                    var i = t.vote, a = 0, s = i.items.length, o = [], n = 0, r = Spirit.UserValidate.getUserInfo();
                    if (t.username = t.user ? t.user.username : "", t._avatar = t.user ? t.user.photo : defaultAvatar, t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t.voteTitle = i.title, i.isExpire === !1 ? t.voteBtn = '<span class="cmt-btmBlue" k-name="cmt/joinVote">投票</span>' : t.voteBtn = '<span class="cmt-btnGray">投票已过期</span>', t.isVoted === !0 && (t.voteBtn = '<span  class="cmt-btnGray">已投票</span>'), p && p.share && (t.share_data = "{'text':'" + i.title + "','pic':'" + p.share.pic + "','url':'" + p.share.url + "'}"), t.choice = i.choice, t.cid || (t.cid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.vid || ""), t.replysHtml || (t.replysHtml = l.getReplyHtml(t.replys || [])), t._replyTextarea || (t._replyTextarea = c.getReplyTextArea(t)), "y" !== t._singlecmt && !t._replyMore && t.replynum && t.replynum > 3)if (t.replynum <= 20)t._replyMore = Tpl.simple(h.showMoreReplysTpl, {replysMoreNum: t.replynum - 3}); else {
                        var d = e.getCmtDetailUrl(t);
                        t._replyMore = Tpl.simple(h.viewMoreReplysTpl, {commentUrl: d, replysMoreNum: t.replynum - 3})
                    }
                    for (t.voteid = i._id; s > a; a += 1)n += i.items[a].result;
                    t.voteTotal = t.votenum, i.choice > 1 ? "vs1" === i.show || r && r.uid && r.uid === t.user.uid || t.isVoted === !0 ? (opsTpl = h.multiOptResult, i.items.sort(function (t, e) {
                        return e.result - t.result
                    })) : opsTpl = h.multiOpt : "vs1" === i.show || r && r.uid && r.uid === t.user.uid || t.isVoted === !0 ? (opsTpl = h.singleOptResult, i.items.sort(function (t, e) {
                        return e.result - t.result
                    })) : opsTpl = h.singleOpt;
                    var u = 0, m = "";
                    for (a = 0; s > a; a += 1)n > 0 && 0 == a && (u = i.items[a].result), m = u > 0 && u == i.items[a].result ? " vote-bast" : "", o.push(Tpl.simple(opsTpl, {
                        optId: i.items[a].optid,
                        optText: i.items[a].text,
                        proportion: n > 0 ? Math.floor(i.items[a].result / n * 100) + "%" : "0%",
                        result: i.items[a].result,
                        name: i._id,
                        bastStyle: m,
                        btnDisabled: i.isExpire === !0 || t.isVoted === !0 ? ' disabled="disabled" disable="1"' : ""
                    }));
                    t.voteOptions = o.join("")
                })
            },
            _joinVote: function (t) {
                if (!Cookie.get("ssouid"))return Spirit.userLogin.openLetvLogin(), !1;
                var e = this, i = $(t).parents(".j-cmt-info"), a = i.find(".j-voteError"), o = [], n = i.attr("data-cmtid"), r = i.find(".j-cmt-vote").attr("voteid");
                if (i.find("input:checked").each(function () {
                        o.push($(this).attr("optid"))
                    }), !o.length) {
                    a.html("请至少选择一项");
                    var l = setTimeout(function () {
                        a.html(""), l = null, "www_play" == __INFO__.pageid && (m.clearComment(), m.clearTextarea(), $(window).trigger("scroll"))
                    }, 2e3);
                    return !1
                }
                var c = function (t) {
                    if ("200" !== t.result) {
                        a.html(s.other[t.result]);
                        var o = setTimeout(function () {
                            a.html(""), o = null
                        }, 2e3);
                        return !1
                    }
                    e._showResult(i.find(".j-vote-list"), t);
                    var n = parseInt(i.find(".j-voteTotal").html()) + 1;
                    i.find(".j-voteTotal").html(n), a.empty()
                };
                $.ajax({
                    url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/vote/join?jsonp=?",
                    dataType: "jsonp",
                    data: {commentid: n, voteid: r, optids: o.join(",")},
                    success: c
                })
            },
            _getComment: function (t) {
                var e = this, i = $(t);
                n._changeContent(i, !1, function () {
                    e._load(1)
                })
            },
            _showResult: function (t, e) {
                for (var i = 0, a = e.data.items.length, s = [], o = 0, n = e.data.choice > 1 ? h.multiOptResult : h.singleOptResult; a > i; i += 1)o += e.data.items[i].result;
                e.data.items.sort(function (t, e) {
                    return e.result - t.result
                });
                var r = 0, l = "";
                for (i = 0; a > i; i += 1)o > 0 && 0 == i && (r = e.data.items[i].result), l = r > 0 && r == e.data.items[i].result ? " vote-bast" : "", s.push(Tpl.simple(n, {
                    optId: e.data.items[i].optid,
                    optText: e.data.items[i].text,
                    proportion: o > 0 ? Math.floor(e.data.items[i].result / o * 100) + "%" : "0%",
                    result: e.data.items[i].result,
                    name: e.data._id,
                    bastStyle: l,
                    btnDisabled: ' disabled="disabled" disable="1"'
                }));
                t.html(s.join("")), t.parent().find(".vote-btn").html('<span class="cmt-btnGray">已投票</span>'), t.find("input").attr("checked", !1)
            },
            _renderList: function (t) {
                if (!t.total)return "www_play" == __INFO__.pageid ? (this.$voteListBox.find(".j-cmt-tabs:visible").find(".j-cmt-empty:visible").show(), this.$voteListBox.find(".j-listContent").html(h.noVote), this.$voteListBox.find(".j-listContent").find(".j-cmt-empty").show(), $(".j-page-info").hide(), !1) : (this.$voteListBox.find(".j-page-info").hide(), this.$voteListBox.find(".j-cmt-tabs:visible").find(".j-cmt-empty:visible").hide(), this.$voteListBox.find(".j-listContent").html(h.noVote), !1);
                var e, i = this.$voteListBox.find(".j-listContent");
                e = 1 === t.rule && t.authData && t.authData.length ? t.authData.concat(t.data) : t.data || [], i.find(".section-loding").remove();
                var a = i.html(), s = this._makeHtml(e);
                a != s && i.html(s), r.updatePager.call(this, t, this.pageIndex), r.updatePagerAt.call(this, t.total, e.length)
            },
            gotopage: function (t, e) {
                var i = this, a = 0, s = e || 0;
                a = i.pageIndex, this.pageIndex = s, s > 0 && s != a && this._load(e, null, !0)
            },
            _load: function (e) {
                var i = this, a = window.__INFO__.video.cid;
                this.$voteListBox.find(".j-listContent").prepend(h.loading), 30 !== a && p.pid && (1 == a && a ? p.pid = p.pid : p.pid = 0), $.ajax({
                    url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/list?jsonp=?",
                    dataType: "jsonp",
                    data: {type: "video", xid: p.vid, pid: p.pid, rows: 10, page: e, ctype: "vote"},
                    success: function (e) {
                        return "200" !== e.result ? ($error.html(s.other[e.result]), !1) : (i._renderList(e), void("www_play" == __INFO__.pageid && t("bz/comment/commentCeiling").init()))
                    }
                })
            }
        };
        i.exports = v
    }, LTK["bz/comment/commentCamp"] = function (t, e, i) {
        var a = {
            init: function () {
                this.initDom(), this.initEvent()
            }, initDom: function () {
                this.$voteBox = null, this.$commentTextArea = $(".j-cmt-textarea"), this.$placeHolder = $(".j-cmt-textarea .j-comment-ta"), this.voteRedText = "您支持了红方，快去评论下吧！", this.voteBlueText = "您支持了蓝方，快去评论下吧！", this.vote_default = "有什么感想，您也来说说吧！"
            }, initEvent: function () {
                var t = this;
                $(".vote_comment").length && (Spirit.Event.addEvent("loginSuccess", function () {
                    t.getCamp()
                }), Spirit.Event.addEvent("logoutSuccess", function () {
                    t.getCamp()
                }), $(".v_button").live("click", function () {
                    if (!Spirit.UserValidate.getUserInfo())return void Spirit.userLogin.openLetvLogin();
                    var e = $(this), i = ($(this).parent(".vote_button").find(".addVote"), $(this).attr("vote_id"));
                    if (e.hasClass("red_button"))var a = 1; else if (e.hasClass("blue_button"))var a = 1; else if (e.hasClass("red_yes_vote"))var a = -1; else if (e.hasClass("blue_yes_vote"))var a = -1;
                    t.getSign(function (s) {
                        $.ajax({
                            url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/incr",
                            data: {id: i, sign: s, num: a},
                            dataType: "jsonp",
                            success: function (i) {
                                t.voteSucces(e)
                            }
                        })
                    })
                }))
            }, _operateStyle: function (t, e, i) {
                $(".vote_box").removeClass("vote_left_yes").removeClass("vote_right_yes").removeClass("vote_default"), t[i ? "addClass" : "removeClass"](e)
            }, _supportRed: function () {
                var t = this;
                t.$commentTextArea.find(".flag").remove(), t.$placeHolder.before('<i class="flag cmt-icon red_flag"></i>'), t.$placeHolder.val(t.voteRedText), t._operateStyle($(".j-cmt-textarea"), "flag_textarea", !0), t._operateStyle(t.$voteBox, "vote_left_yes", !0)
            }, _supportBlue: function () {
                var t = this;
                t.$commentTextArea.find(".flag").remove(), t.$placeHolder.before('<i class="flag cmt-icon blue_flag"></i>'), t.$placeHolder.val(t.voteBlueText), t._operateStyle($(".j-cmt-textarea"), "flag_textarea", !0), t._operateStyle(t.$voteBox, "vote_right_yes", !0)
            }, _defaultState: function () {
                var t = this;
                t.$commentTextArea.find(".flag").remove(), t.$placeHolder.val(t.vote_default), t._operateStyle(t.$voteBox, "vote_default", !0)
            }, getCamp: function () {
                var e = this, i = t("air/util/ScrollTrigger");
                i.add({
                    id: "commentCamp", isOnce: !0, point: $(".vote_comment").offset().top - 150, handler: function () {
                        e.$voteBox = $(".vote_box"), e.$placeHolder.val(e.vote_default), e.$commentTextArea.removeClass("flag_textarea"), e.$commentTextArea.find(".flag").remove(), e.$voteBox.remove(), e.getVoteId(function (i) {
                            $.ajax({
                                url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/num",
                                type: "get",
                                dataType: "jsonp",
                                data: {id: i.sVoteId, getvotedlist: 1, jsonp: "callback"},
                                success: function (a) {
                                    var s = a.data[i.voteId1] || 0, o = a.data[i.voteId2] || 0, n = e.voteNum(s), r = e.voteNum(o), l = "", c = ['<div class="vote_box">', '<p class="cmt-content">{voteTitle}</p>', '<div class="top_text">', '<div class="top_text_left w_left">', '<span class="top_support"><i class="vote_text">{voteOpt1}</i><i class="vote_num">{voteRedNum}</i></span>', "</div>", '<div class="top_text_right w_right">', '<span class="top_oppose"><i class="vote_num">{voteBlueNum}</i><i class="vote_text">{voteOpt2}</i></span>', "</div>", "</div>", '<div class="vote_strip">', '<div class="left_vote vote_con w_left" width="">', '<div class="red_strip w_strip" data-num="{redData}">', '<i class="cmt-icon vote_flag red_vote_no red_vote_yes"></i>', '<span class="j_vote_detail"><i class="vote_text">{voteOpt1}</i>', '<i class="vote_num">{voteRedNum}</i></span>', "</div>", '<div class="vote_button">', '<img src="http://i0.letvimg.com/lc02_iscms/201510/28/17/10/6d4a5412ca6946e69ee79e12167d844b.png" class="red_1 addVote" style="display:none;">   <img src="http://i3.letvimg.com/lc03_iscms/201511/05/15/14/cef33b9544a6418d83f523ff589ca75a.png" class="red_2 downVote">', '<a class="red_button v_button" vote_id="{voteId1}" data-num="{voteRedNum}">投票</a><a class="red_yes_vote yes_vote v_button" vote_id="{voteId1}" data-num="{voteRedNum}">己投票</a><a class="no_vote_button red_no_vote_button">未投票</a>', "</div>", "</div>", '<div class="right_vote vote_con w_right" width="">', '<div class="blue_strip w_strip" data-num="{blueData}">', '<i class="cmt-icon vote_flag blue_vote_no blue_vote_yes"></i>', '<span class="oppose j_vote_detail"><i class="vote_num">{voteBlueNum}</i><i class="vote_text">{voteOpt2}</i></span>', "</div>", '<div class="vote_button">', '<img src="http://i1.letvimg.com/lc01_iscms/201510/28/17/10/7c7a2f373d484e11973e0fc6ef248f7d.png" class="blue_1 addVote" style="display:none"> <img src="http://i3.letvimg.com/lc02_iscms/201511/05/15/14/548a4ed9f46d48ad9448a670a32bc565.png" class="blue_2 downVote">', '<a class="blue_button v_button" vote_id="{voteId2}" data-num="{voteBlueNum}">投票</a><a class="blue_yes_vote yes_vote v_button" vote_id="{voteId2}" data-num="{voteBlueNum}">己投票</a><a class="no_vote_button blue_no_vote_button">未投票</a>', "</div>", "</div>", "</div>", "</div>"].join(""), d = t("air/util/tpl"), p = new d(c), l = p.render({
                                        redData: s,
                                        blueData: o,
                                        voteRedNum: n,
                                        voteBlueNum: r,
                                        voteTitle: i.voteTitle,
                                        voteOpt1: i.voteOpt1,
                                        voteOpt2: i.voteOpt2,
                                        voteId1: i.voteId1,
                                        voteId2: i.voteId2
                                    });
                                    if ($(".vote_comment").prepend(l), e.$voteBox = $(".vote_box"), e.getInfo = Spirit.UserValidate.getUserInfo(), e.getInfo) {
                                        if (a.votedlist) {
                                            var h = a.votedlist[i.voteId1], u = a.votedlist[i.voteId2];
                                            h || u % 2 != 1 ? h || u % 2 != 0 ? h % 2 != 1 || u ? h % 2 != 0 || u ? h && u && h % 2 == 1 && u % 2 == 0 ? e._operateStyle(e.$voteBox, "vote_left_yes", !0) : h && u && h % 2 == 0 && u % 2 == 1 ? e._operateStyle(e.$voteBox, "vote_right_yes", !0) : h && u && h % 2 == 0 && u % 2 == 0 && e._operateStyle(e.$voteBox, "vote_default", !0) : e._operateStyle(e.$voteBox, "vote_default", !0) : e._operateStyle(e.$voteBox, "vote_left_yes", !0) : e._operateStyle(e.$voteBox, "vote_default", !0) : e._operateStyle(e.$voteBox, "vote_right_yes", !0)
                                        }
                                    } else e._operateStyle(e.$voteBox, "vote_default", !0);
                                    e.barWidth()
                                }
                            })
                        })
                    }
                });
                var a = t("air/event/Broadcast");
                a.on("pageSizeChange", function () {
                    e.barWidth()
                })
            }, getSign: function (t) {
                var e = null, i = {
                    url: "http://" + LETV.CONSTANT.host.API_LETV_COM + "/time",
                    type: "get",
                    dataType: "jsonp",
                    jsonp: "callback",
                    success: function (i) {
                        var a = i.stime, s = parseInt(82261437425 * Math.random() + 1527904682), o = a, n = parseInt(6 * Math.random() + 2);
                        o *= n, o = o.toString(), n = n.toString(), s = s.toString(), o += n;
                        for (var r = o.length, l = "", c = 1, d = 0; r > d; d++)d % c == 0 && (l += s.charAt(d / c)), l += o.charAt(d);
                        e = l, "function" == typeof t && t(e)
                    }
                };
                $.ajax(i)
            }, getVoteId: function (t) {
                var e = window.__INFO__ || {}, i = {
                    url: "http://" + LETV.CONSTANT.host.HD_MY_LETV_COM + "/action/video",
                    data: {vid: e.vid, pid: e.pid, type: "2"},
                    dataType: "jsonp",
                    success: function (e) {
                        if (e.data[0]) {
                            var i = e.data[0].options, a = e.data[0].title, s = i[0].title, o = i[1].title, n = i[0].option_id, r = i[1].option_id, l = new Array;
                            $.each(i, function () {
                                l.push(this.option_id)
                            });
                            var c = l.join(), d = {
                                sVoteId: c,
                                voteTitle: a,
                                voteOpt1: s,
                                voteOpt2: o,
                                voteId1: n,
                                voteId2: r
                            };
                            "function" == typeof t && t(d)
                        }
                    }
                };
                $.ajax(i)
            }, voteSucces: function (t) {
                var e, i, a = this, s = t.parents(".vote_button").prev(".w_strip").attr("data-num"), o = parseInt(s);
                if (t.hasClass("red_button")) {
                    var e = o + 1, i = $(".red_1");
                    a._supportRed()
                } else if (t.hasClass("blue_button")) {
                    var e = o + 1, i = $(".blue_1");
                    a._supportBlue()
                } else if (t.hasClass("red_yes_vote")) {
                    var e = o - 1, i = $(".red_2");
                    a._defaultState()
                } else if (t.hasClass("blue_yes_vote")) {
                    var e = o - 1, i = $(".blue_2");
                    a._defaultState()
                }
                var n = a.voteNum(e);
                t.parents(".vote_con").hasClass("left_vote") ? ($(".left_vote .vote_num,.top_text_left .vote_num").text(n), $(".red_button,.red_yes_vote").attr("data-num", e), $(".red_strip").attr("data-num", e)) : ($(".right_vote .vote_num,.top_text_right .vote_num").text(n), $(".blue_button,.blue_yes_vote").attr("data-num", e), $(".blue_strip").attr("data-num", e)), i.show().animate({
                    top: "-75px",
                    opacity: "0"
                }, 2e3, function () {
                    i.hide(), i.css({top: "-15px", opacity: "1"})
                })
            }, difSizeWidth: function (t) {
                t.redBarWidth < t.minWidth || t.redBarWidth > t.maxWidth || t.redBarWidth >= t.minWidth && t.redBarWidth <= t.cenWidth ? $(".left_vote .j_vote_detail .vote_text").text().length < 3 ? this.inlineShow() : this.outlineShow() : t.redBarWidth > t.cenWidth && this.inlineShow()
            }, barWidth: function () {
                var t = this, e = $(".vote_strip").width(), i = parseInt($(".red_strip").attr("data-num")), a = parseInt($(".blue_strip").attr("data-num")), s = i + a, o = Math.round(i / s * 1e3 / 10), n = Math.round(155 / e * 1e3 / 10), r = 100 - n, l = Math.round(197 / e * 1e3 / 10), c = {
                    redBarWidth: o,
                    minWidth: n,
                    maxWidth: r,
                    cenWidth: l
                };
                if (20 >= s)switch ($(".left_vote,.right_vote").css("width", "50%"), e) {
                    case 539:
                        this.outlineShow();
                        break;
                    case 758:
                        this.inlineShow();
                        break;
                    case 918:
                        this.inlineShow()
                } else {
                    if (n > o)var o = n; else if (o > r)var o = r;
                    switch (e) {
                        case 539:
                            this.outlineShow();
                            break;
                        case 758:
                            t.difSizeWidth(c);
                        case 918:
                            t.difSizeWidth(c)
                    }
                    var d = 100 - o;
                    $(".left_vote").css("width", o + "%"), $(".right_vote").css("width", d + "%")
                }
            }, outlineShow: function () {
                $(".top_text").show(), $(".j_vote_detail").hide()
            }, inlineShow: function () {
                $(".top_text").hide(), $(".j_vote_detail").show()
            }, voteNum: function (t) {
                var e = "";
                if (9999 >= t)e = t; else if (t > 9999 && 99999499 >= t) {
                    var i = t / 1e4;
                    e = Math.round(10 * i) / 10 + "万"
                } else if (t > 99999499) {
                    var a = t / 1e8;
                    e = Math.round(10 * a) / 10 + "亿"
                }
                return e
            }
        };
        a.init(), i.exports = a
    }, LTK["bz/comment/comments"] = function (t, e, i) {
        var a = (LETV.using("Utils"), t("bz/comment/apicode"), t("bz/comment/common"));
        window.__INFO__.video;
        "www_play" == __INFO__.pageid ? tpls = t("bz/comment/votetpl_v2") : tpls = t("bz/comment/votetpl"), i.exports = {
            init: function () {
                this._initDom(), this._initEvent()
            }, _initDom: function () {
            }, _initEvent: function () {
                var t = this;
                Ker.on("cmt/allcomment", function (e) {
                    t._getComments(e)
                })
            }, _initPage: function () {
            }, _getComments: function (t) {
                var e = $(t);
                a._changeContent(e)
            }, _render: function () {
            }
        }
    }, $(function () {
        $(document.body).append('<div style="width:1px;height:0px;overflow:hidden;"><iframe name="iframe_blank_i18ox" id="iframe_blank_i18ox"></iframe></div>')
    }), LETV.iframeHttpsSubmit = function (t, e) {
        var i = document.getElementById("iframe_blank_i18ox");
        if ($(i).off("load"), !e)return $(i).on("load", function () {
            LETV.iframeHttpsSubmit(t, !0)
        }), void(i.src = "//" + LETV.CONSTANT.host.SSO_LETV_COM + "/user/loginblank");
        i = i.contentWindow.document;
        var a, s, o = "" + (new Date).getTime() + (1e5 * Math.random() >> 0), n = t.data;
        a = '<div id="_iframeSubmit_' + o + '"><form name="form_' + o + '" id="form_' + o + '" method="' + (t.type || "GET") + '" action="' + t.url + '">';
        for (s in n)a += '<input type="hidden" name="' + s + '" value="" />';
        t.callback && (window["iframeSubmit_" + o] = function (e) {
            t.callback(e), window["iframeSubmit_" + o] = null
        }, a += '<input type="hidden" name="callback" value="iframeSubmit_' + o + '" />'), a += '<input type="submit" value="submit" />', a += "</form></div>", i.body.innerHTML = a, setTimeout(function () {
            var t = i.getElementById("form_" + o);
            for (var e in n)t[e].value = n[e];
            t.submit()
        }, 1)
    }, LTK["bz/comment/CommentList_v3"] = function (require, exports, module) {
        var sharetext, sharedesc, shareurl, sharepic, common = require("bz/comment/common"), ceiling = require("bz/comment/commentCeiling"), events = require("bz/www_play/events"), pager = require("bz/comment/cmt_pager"), dialog = require("bz/comment/utils").bindPhoneLayer(), Overlay = require("air/ui/overlay"), CommentList = {
            textItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : [[]] }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><i class="flag cmt-icon {cmtFlag}"></i><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="{styleColor}">{$._thirdParty ? $._thirdPartyUsername : $.username}</{$.isLoginUsername ? [[a]] : [[span]]}>{ $._thirdParty ? $._thirdParty : [[]]}</dt><dd class="cmt-right j-cmt-right "><a href="javascript:void(0);" k-name="cmt/report"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar">{$._thirdParty ? [[<a target="_blank" href="]]+$._thirdPartyHref+[[">]] : [[]]}<i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" />{$._thirdParty ? [[</a>]] : [[]]}</dd><dd class="cmt-content">{content}</dd>{ $.imgHtml ? $.imgHtml : [[]] }<dd class="cmt-tool j-cmt-tool"><span class="cmt-time">{vtime}</span><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复" ><i class="cmt-icon i-reply"></i><span class="j-i-reply-num">回复({_replynum})</span></a><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞" ><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a></dd><dd class="cmt-son j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}{ $._replyPageInfo ? $._replyPageInfo : [[]]}{ $._replyTextarea ? $._replyTextarea : [[]]}</dd></dl>'),
            hotItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : [[]] }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><span class="cmt-icon-hot">热评</span><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="{styleColor}">{$._thirdParty ? $._thirdPartyUsername : $.username}</{$.isLoginUsername ? [[a]] : [[span]]}>{ $._thirdParty ? $._thirdParty : [[]]}</dt><dd class="cmt-right j-cmt-right "><a href="javascript:void(0);" k-name="cmt/report"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar">{$._thirdParty ? [[<a target="_blank" href="]]+$._thirdPartyHref+[[">]] : [[]]}<i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" />{$._thirdParty ? [[</a>]] : [[]]}</dd><dd class="cmt-content">{content}</dd>{ $.imgHtml ? $.imgHtml : [[]] }<dd class="cmt-tool j-cmt-tool"><span class="cmt-time">{vtime}</span><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复" ><i class="cmt-icon i-reply"></i><span class="j-i-reply-num">回复</span></a><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞" ><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a></dd><dd class="cmt-son j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}{ $._replyPageInfo ? $._replyPageInfo : [[]]}{ $._replyTextarea ? $._replyTextarea : [[]]}</dd></dl>'),
            topItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : [[]] }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><span class="cmt-icon-top">精华</span><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="{styleColor}">{$._thirdParty ? $._thirdPartyUsername : $.username}</{$.isLoginUsername ? [[a]] : [[span]]}>{ $._thirdParty ? $._thirdParty : [[]]}</dt><dd class="cmt-right j-cmt-right "><a href="javascript:void(0);" k-name="cmt/report"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar">{$._thirdParty ? [[<a target="_blank" href="]]+$._thirdPartyHref+[[">]] : [[]]}<i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" />{$._thirdParty ? [[</a>]] : [[]]}</dd><dd class="cmt-content">{content}</dd>{ $.imgHtml ? $.imgHtml : [[]] }<dd class="cmt-tool j-cmt-tool"><span class="cmt-time">{vtime}</span><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复" ><i class="cmt-icon i-reply"></i><span class="j-i-reply-num">回复</span></a><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞" ><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a></dd><dd class="cmt-son j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}{ $._replyPageInfo ? $._replyPageInfo : [[]]}{ $._replyTextarea ? $._replyTextarea : [[]]}</dd></dl>'),
            textPicPlayTpl: '<a href="{href}" target="_blank" title="{title}"><i class="cmt-icon i-openPlay"></i>播放</a>',
            textPicTpl: '<dd class="cmt-picBox j-cmt-picBox pic-default"><span class="cmt-thumbnail"><img k-name="cmt/pic/expand" src="{smallImg}"></span><div class="cmt-bigPic"><p class="cmt-bigPic-tool"><span k-name="cmt/pic/collapse" title="收起"><i class="cmt-icon i-retraction"></i>收起</span></p><span k-name="cmt/bigPic/box" class="cmt-bigPic-box" title="{title}"><img src="{bigImg}"></span></div></dd>',
            jCmtReplyTextareaTpl: new Tpl('<div class="cmt-textarea j-cmt-reply-textarea" {showReplyTextara} data-cmtid="{$.cmtId ? $.cmtId : [[]]}"  data-pid="{$.pid ? $.pid : [[]]}" data-xid="{$.xid ? $.xid : [[]]}" data-cid={$.cid ? $.cid : [[]]}><div class="cmt-userWork j-cmt-userWork"><textarea placeholder="有什么感想，您也来说说吧！" rows="" cols="" name="" class="j-comment-ta" k-name="cmt/edit"></textarea></div><div class="cmt-userInfo j-cmt-userInfo"><span class="cmt-btmBlue j-cmt-btmBlue" k-name="cmt/editAction" title="回复">回复</span><span class="cmt-txtNum"><b class="j-txtNum">0</b><b>/140</b></span><span title="切换用户" k-name="cmt/changeUser" class="cmt-changeUser j-cmt-changeUser"><i class="cmt-icon i-cutuser"></i>切换用户</span></div><div class="cmt-popTips"><p class="cnt oneLine"></p></div></div> '),
            textSonItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : ($.commentid ? $.commentid : [[]] ) }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}" ><dt class="cmt-name j-cmt-name"><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="{styleColor}">{username}</{$.isLoginUsername ? [[a]] : [[span]]}>{$.replySbd ? (!$.isLoginReplyname ? [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]]  : [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]] ): [[]]}</dt><dd class="cmt-right  j-cmt-right"><a href="javascript:void(0);"  k-name="cmt/report" title="举报"><i class="cmt-icon i-report" ></i>举报</a></dd><dd class="cmt-head" k-name="cmt/avatar"><i class="cmt-head-bg {starClass}"></i><img src="{_avatar}" alt="{username}" title="{username}" /></dd><dd class="cmt-content">{content}</dd><dd class="cmt-tool j-cmt-tool"><span class="cmt-time">{vtime}</span><a href="javascript:;" class="tool-reply j-tool-reply" k-name="cmt/reply" title="回复"><i class="cmt-icon i-reply"></i>回复</a><a href="javascript:;" class="tool-like" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞"><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart"></i><b class="j-like-num">({_like})</b></a></dd></dl>'),
            showMoreReplysTpl: '<p class="cmt-replyMore j-cmt-replyMore " k-name="cmt/replyMore" title="显示更多{replysMoreNum}条回复">显示更多<b class="j-replyMore">{replysMoreNum}</b>条回复<i class="i-arrowsB"></i></p>',
            viewMoreReplysTpl: '<a class="cmt-replyMore j-cmt-replyMore " href="{commentUrl}" title="查看更多{replysMoreNum}条回复" target="_blank">查看更多<b class="j-replyMore">{replysMoreNum}</b>条回复 > </a>',
            prevNexPageTpl: '<a href="javascript:void(0);" class="next-btn j-cmt-pre-page {preDisabled}" title="上一页">上一页</a><a href="javascript:void(0);" class="next-btn j-cmt-nex-page {nexDisabled}" title="下一页">下一页</a>',
            pageInfoTpl: '<div class="page-info j-page-info " style="display : none"><p class="page-crumbs">第<b class="j-pageAt"></b>/<b class="j-pageAll"></b>条</p><div class="next-page j-cmt-page" k-name="cmt/gopage"></div></div>',
            picPageInfoTpl: '<div class="page-info j-page-info " style="display: none"><div class="next-page grayBg j-cmt-page" k-name="cmt/gopage"></div></div>',
            picItemTpl: new Tpl('<div class="cmt j-cmt-pic-section"><p class="cmt-pic j-cmt-pic"><a class="cmt-icon i-player" target="_blank" href="{$._picPlayHref ? $._picPlayHref :[[]]}" title="{$._playBtnStr ? $._playBtnStr : [[]]}"  ></a>{$._cmtpic ? [[<img src="]]+$._cmtpic+[[" alt="]]+$.title+[[" />]] : [[]]}<span class="cmt-btn j-cmt-pic-btn"><a href="javascript:void(0);" class="cmt-btnL cmt-grayBtn" k-name="cmt/pic/cmtreply" title="回复"><i class="cmt-icon i-reply"></i><b>回复</b></a><a title="分享" k-name="cmt/share" class="cmt-btnL cmt-grayBtn mr10" href="javascript:void(0);" id="commentShareBtn"' + ("undefined" != typeof __INFO__ && __INFO__.commentShare ? "" : 'style="display:none;"') + '><i class="cmt-icon i-share2 j-cmt-like-heart "></i><b>分享</b></a><a href="javascript:void(0);" class="cmt-btnR cmt-grayBtn" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞"><i class="cmt-icon {$.isLike ? [[i-atLike]] : [[i-like]]} j-cmt-like-heart "></i><b class="j-like-num">({_like})</b></a></span></p><p class="cmt-initiateTxt">{$.content}</p><dl class="cmt-info j-cmt-info cmt-initiate" data-cmtid="{$._id ? $._id : ($.commentid ? $.commentid : [[]]) }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}"><dt class="cmt-name j-cmt-name"><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="color:#529BEF">{$.showUserName}</{$.isLoginUsername ? [[a]] : [[span]]}><span class="cmt-time">{vtime}</span></dt><dd class="cmt-head" k-name="cmt/avatar"><i class="cmt-head-bg"></i><img src="{$._avatar}" alt="{$.username}" title="{$.username}" /></dd><dt class="cmt-txt" >截图评论 <a href="{$._picPlayHref ? $._picPlayHref :[[]]}" alt="{$.picTitle||[[]]}" title="{$.picTitle||[[]]}">{$._title}</a></dt></dl><div class="cmt-replyList j-cmt-son">{ $.replysHtml ? $.replysHtml : [[]] }{ $._replyMore ? $._replyMore : [[]]}<dl class="cmt-info cmt-sontextarea j-cmt-reply-textarea" style="display:none;"><dd class="cmt-head j-cmt-userHead" k-name="cmt/avatar"><a href="javascript:void(0);"><i class="cmt-head-bg"></i><img src="{$.loginAvatar || [[]]}" alt="{$.loginUsername || [[]]}" title="{$.loginUsername || [[]]}" /></a></dd><dd class="cmt-userWork j-cmt-userWork"><textarea class="j-comment-ta" k-name="cmt/edit" name="" cols="" rows=""  placeholder="有什么感想，您也来说说吧！">有什么感想，您也来说说吧！</textarea><span class="cmt-txtNum"><b class="j-txtNum">0</b><b>/140</b></span></dd><dd class="cmt-userTool"><span class="cmt-btmBlue j-cmt-btmBlue" k-name="cmt/editAction" title="回复">回复</span></dd></dl></div></div>'),
            picSonItemTpl: new Tpl('<dl class="cmt-info j-cmt-info" data-cmtid="{$._id ? $._id : ($.commentid ? $.commentid : [[]]) }"  data-pid="{$.pid ? $.pid :[[]]}" data-xid="{$.xid ? $.xid :[[]]}" data-cid="{$.cid ? $.cid : [[]]}"><dt class="cmt-name j-cmt-name"><{$.isLoginUsername ? [[a href="javascript:void(0);"]] : [[span]]} class="j-cmt-username" style="color:#529BEF">{$.showUserName}</{$.isLoginUsername ? [[a]] : [[span]]}>{$.replySbd ? (!$.isLoginReplyname ? [[<b>回复</b><span style="color:#529BEF">]]+$.replySbd +[[</span>]]  : [[<b>回复</b><a href="javascript:void(0);">]]+$.replySbd +[[</a>]] ): [[]]}</dt><dd class="cmt-head" k-name="cmt/avatar"><i class="cmt-head-bg"></i><img src="{$._avatar}" alt="{$.username}" title="{$.username}" /></dd><dd class="cmt-content j-cmt-content">{$.content}</dd><dd class="cmt-tool j-cmt-tool"><span class="cmt-tool-bg"></span><div class="cmt-tool-btn"><a class="cmt-btnL cmt-grayBtn" href="javascript:void(0);" k-name="cmt/pic/copy" title="复制">复制</a><a class="cmt-btnC cmt-grayBtn" href="javascript:void(0);" k-name="cmt/like" title="{$.isLike ? [[取消]]:[[]]}赞"><i class="cmt-icon i-like j-cmt-like-heart"></i><b class="j-like-num">({$._like})</b></a><a class="cmt-btnR cmt-grayBtn" href="javascript:void(0);" k-name="cmt/pic/cmtreply" title="回复"><i class="cmt-icon i-reply"></i><b>回复</b></a></div></dd></dl>'),
            noticeTpl: '<div class="cmt-textarea cmt-gg j_notice"><div class="cmt-gg-icon">公告</div><div class="cmt-gg-text"><a {noticeUrl} {noticeClass} target="_blank">{noticeText}</a></div></div>',
            loadingBarTpl: ' <div class="section-loding j-cmt-section-loding" style="display: none;">加载中<span class="j-cmt-loading">...<span></div>',
            defaultAvatar: "http://i3.letvimg.com/img/201207/30/tx50.png",
            cmtDetailUrl: "http://" + LETV.CONSTANT.host.PINGLUN_LETV_COM + "/commontfeed/index.shtml",
            configUserAvatarUrl: "http://" + LETV.CONSTANT.host.MY_LETV_COM + "/setting/icon/",
            commentSelector: ".Comment",
            itemWidth: 310,
            defaultUserNameLengthSingle: 30,
            defaultUserNameLength: 14,
            defaultTitleLength: 27,
            pageIndex: 0,
            pageType: "all",
            picPageIndex: 0,
            singleCmtPageIndex: 0,
            pageCount: 0,
            pageCommentsCnt: 20,
            pageShowMoreCnt: 20,
            $list: null,
            singlecmtData: null,
            noComment: "暂无数据，抢个沙发，立即评论",
            loadingNextFlag: !0,
            loadingTimer: 0,
            noMoreCmts: !1,
            renderingFlag: !1,
            c_defaultComment: "有什么感想，您也来说说吧！",
            c_redFlagComment: "您支持了红方，快去评论下吧！",
            c_blueFlagComment: "您支持了蓝方，快去评论下吧！",
            autoCmt: {},
            c_info: window.__INFO__ || {},
            c_video: __INFO__ || {},
            configs: {
                msgEnum: {
                    verify: "验证码错误。",
                    error: "参数不正确。",
                    type: "类型不支持。",
                    time: "刚刚评论过，休息一下再来吧",
                    more: "5分钟发评论过多。",
                    filter: "内容含有非法字符。",
                    forbidIP: "IP被屏蔽。",
                    forbidUser: "用户被屏蔽。",
                    repeat: "相同的评论内容。",
                    "short": "评论内容过于简单。"
                },
                uploadAvatarImgUrl: "http://i0.letvimg.com/img/201403/27/1657/head_up.jpg",
                loginAvatarImgUrl: "http://i3.letvimg.com/img/201404/18/1752/hd_dl.jpg",
                updateAvatarImgUrl: "http://i2.letvimg.com/img/201404/18/1113/hd_gh.jpg",
                addCommentUrl: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/add",
                replyCommentUrl: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/reply",
                commentListUrl: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/list?jsonp=?",
                getCmtUrl: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/getComment?jsonp=?",
                replyListUrl: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/replylist?jsonp=?"
            },
            defaults: {simgleCmtPageTitle: "乐视网"},
            picLis: {
                0: {resp1024: 3, resp1280: 3, resp1440: 3},
                1: {resp1024: 3, resp1280: 3, resp1440: 4},
                2: {resp1024: 2, resp1280: 3, resp1440: 3}
            },
            extraOpts: {},
            cacheTank: {},
            renderEndCb: [],
            clickedPage: 0,
            busy: !1,
            init: function (t) {
                var e, i = this;
                e = $.extend(e, t), t && "y" == t.singlecmt && (t.api = this.configs.replyListUrl), this.initOpt(t), this.initMainTextArea(), t && "y" == t.singlecmt ? this.reloadData(function () {
                    i.loadSingleCmtData(e)
                }) : this.reloadData(function () {
                    i.loadData(1)
                }), this.bindEvent(), ResponseCss.currentWidth && Spirit.Event.addEvent("pageChange", function () {
                    i.resize()
                }), t = null, this.cmtNum = 0, this._num = 0
            },
            _initDom: function () {
                this.$voteBox = $("#voteBox"), this.$btnVote = $(".cmt-voteBtn"), this.$titleBox = $(".j-cmt-kinds"), this.$allListBox = $(".j-listTxt"), this.$voteListBox = $(".j-cmt-listVote"), this.$picListBox = $(".j-cmt-listPic")
            },
            refreshViariables: function () {
                var t = this;
                window.__INFO__ && (t.c_info = window.__INFO__), window.__INFO__ && window.__INFO__.video && (t.c_video = window.__INFO__.video)
            },
            addExtraOpts: function (t) {
                this.extraOpts = t
            },
            initMainTextArea: function () {
                this.initVariable(), this.initUserAvatar(), this.textAreaHover(), this.initReplyEdit()
            },
            bindEvent: function () {
                var t = this, e = t.opt, i = !1, a = t.getCommentContainer(), s = (a.find(".j-listTxt"), a.find(".j-cmt-listPic")), o = function (t, e, i, a, s) {
                    var o = null, n = 0, r = 0;
                    i = i || function () {
                        }, a = a || function () {
                        }, s = s || 0, t.on("mouseover", function (t) {
                        clearTimeout(r);
                        var l = t.target;
                        n = setTimeout(function () {
                            if (!o || !$.contains(o[0], l)) {
                                var t = $(l).parents(e).first();
                                t.length ? (o && a(o), i(t), o = t) : o && (a(o), o = null)
                            }
                        }, s)
                    }), t.on("mouseout", function () {
                        clearTimeout(n), r = setTimeout(function () {
                            o && (a(o), o = null)
                        }, s)
                    })
                };
                o(s, ".j-cmt-pic", function (t) {
                    i = !1, $(".j-cmt-pic-section").removeClass("hover"), t.parent().addClass("hover")
                }, function (t) {
                    i || t.next(".share_pop").hide(), t.parent().removeClass("hover")
                }, 100), LETV.Util.enterLeave(s, ".j-cmt-info", function (t) {
                    var e = t.children(".j-cmt-tool").show();
                    e.length && e.show()
                }, function (t) {
                    var e = t.children(".j-cmt-tool").show();
                    e.length && e.hide()
                }, 1e3);
                var n = function (e, i, a) {
                    var s = t.getLoginInfo() || "", o = e && e.find(".j-comment-ta"), n = "", r = o.nextAll().find(".j-txtNum") || {};
                    t.getCommentContainer().find(".j-cmt-son .j-cmt-reply-textarea").not(e).hide();
                    var l = a.parents(".j-cmt-tool").siblings(".j-cmt-name").children(".j-cmt-username");
                    l && (l = l.text()), i && a.length && s.loginUsername != l ? o && (n = "回复 " + l + "：", o.val(n), r.text(0), r.hasClass("red") && r.removeClass("red")) : o && o.val(t.c_defaultComment);
                    var c = a.parents(".j-cmt-tool").parent(".j-cmt-info");
                    c.length || (c = a.parents(".j-cmt-pic").siblings(".j-cmt-info")), e.attr("data-cmtid", c.attr("data-cmtid")), e.attr("data-pid", c.attr("data-pid")), e.attr("data-xid", c.attr("data-xid")), e.attr("data-rname", l), e.show(), t.cursorLocate(o[0], n.length, n.length), window.setTimeout(function () {
                        t.gotoAnchor(o, !0), o && o.focus()
                    }, 5)
                };
                Ker.on("cmt/reply", function (e) {
                    var i, a = !1, s = $(e);
                    i = s.parent().nextAll(".j-cmt-son").children(".j-cmt-reply-textarea"), i.length < 1 && (i = s.parents(".j-cmt-info").nextAll(".j-cmt-reply-textarea"), a = !0), i && i.length > 0 && (t.buildReply(i), n(i, a, s)), Stats.sendAction({
                        acode: "0",
                        ap: "ch=www&pg=play_v1&bk=newcomment&link=reply",
                        targeturl: ""
                    }), ceiling.clearComment(), ceiling.clearTextarea(), $(window).trigger("scroll")
                }), t.replyMoreBusy = !1, Ker.on("cmt/replyMore", function (e) {
                    t.opt;
                    if (!t.replyMoreBusy) {
                        t.replyMoreBusy = !0;
                        var i = $(e) || {}, a = {
                            type: "video",
                            rows: t.pageCommentsCnt,
                            page: 1,
                            source: 1
                        }, s = i.length && i.parent().parent(".j-cmt-info");
                        s.length || (s = i.length && i.parent().siblings(".j-cmt-info")), a.commentid = s.attr("data-cmtid") || "", $.ajax({
                            url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/replylist?jsonp=?",
                            dataType: "jsonp",
                            data: a,
                            success: function (a) {
                                a && "200" == a.result && (t.replyMore(a, i), Ker.free(e, "cmt/replyMore")), t.replyMoreBusy = !1
                            },
                            error: function (e) {
                                t.requestFailure(e)
                            }
                        })
                    }
                }), Ker.on("cmt/gopage", function (e, i, a) {
                    var s, o, n = t.opt, r = 0, l = t.getCommentContainer(), c = $(i || e || a.target || a.srcElement) || {}, d = 0;
                    if (!c.is("a"))return !1;
                    if (c.hasClass("selected"))return !1;
                    if (c.hasClass("disable"))return !1;
                    var p = l.find(".j-cmt-page");
                    if (r = n && "y" == n.singlecmt ? t.singleCmtPageIndex : "y" == n.ifpic ? t.picPageIndex : t.pageIndex, c.hasClass("j-cmt-pre-page"))s = c.siblings(".selected"), s.length && (s = p.find(":eq(" + s.index() + ")"), s.removeClass("selected"), d = s.prev("a").addClass("selected").first().text() || 0, o = s.next(".j-cmt-pre-page"), o.length && o.siblings(".j-cmt-nex-page").removeClass("disable")); else if (c.hasClass("j-cmt-nex-page"))s = c.siblings(".selected"), s.length && (s = p.find(":eq(" + s.index() + ")"), o = s.next("a").not(".j-cmt-pre-page"), o.length && (s.removeClass("selected"), d = o.addClass("selected").first().text() || 0, o.next("a").hasClass("j-cmt-pre-page") && o.siblings(".j-cmt-nex-page").addClass("disable"))); else {
                        var h = p.find(":eq(" + c.index() + ")");
                        h.siblings().removeClass("selected"), h.addClass("selected");
                        var u = h.next("a");
                        u.length && u.hasClass("j-cmt-pre-page") && (u.removeClass("disable"), u.next(".j-cmt-nex-page").addClass("disable")), d = c.text() || ""
                    }
                    d = parseInt(d, 10) || 0, d = d > 0 ? d : 1, "y" == n.ifpic && (d = 3 * (d - 1) + 1), 1 != d && t.scrollToNode(), t.clickedPage = d;
                    var m = l.find(".j-cmt-kinds li.selected");
                    m.length && m.hasClass("j-cmt-vote") ? require("bz/comment/vote").gotopage(c, d) : t.gotopage(c, d)
                }), t.likeBusy = !1, Ker.on("cmt/like", function (e) {
                    var i = $(e);
                    if (!t.likeBusy) {
                        t.likeBusy = !0;
                        var a = i.children(".j-cmt-like-heart"), s = a.hasClass("i-atLike"), o = i.parent().parent(".j-cmt-info");
                        o.length || (o = i.parents(".j-cmt-tool").parent(".j-cmt-info"), o.length || (o = i.parents(".j-cmt-pic").siblings(".j-cmt-info")));
                        var n = {
                            type: "video",
                            commentid: o.attr("data-cmtid") || "",
                            macid: Stats.getCookie("tj_lc"),
                            source: 1
                        };
                        o.parent().hasClass("j-cmt-son") ? n.attr = "reply" : n.attr = "cmt", $.ajax({
                            url: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/" + (s ? "un" : "") + "like?jsonp=?",
                            dataType: "jsonp",
                            data: n,
                            success: function (o) {
                                if (o && "200" == o.result) {
                                    var n = a.next(".j-like-num");
                                    if (n[0].innerHTML.indexOf("k") < 0) {
                                        var r = parseInt(n[0].innerHTML.replace(/\D/g, ""), 10) || 0, l = r + (s ? -1 : 1);
                                        l = "(" + l + ")", l = 0 > l ? 0 : l, n.html(l)
                                    }
                                    a[s ? "removeClass" : "addClass"]("i-atLike")[s ? "addClass" : "removeClass"]("i-like"), i.attr("title", s ? "赞" : "取消赞")
                                }
                                Ker.free(e, "cmt/like"), t.likeBusy = !1
                            },
                            error: function (e) {
                                t.requestFailure(e)
                            }
                        }), Stats.sendAction({
                            acode: "0",
                            ap: "ch=www&pg=play_v1&bk=newcomment&link=love",
                            targeturl: ""
                        })
                    }
                }), Ker.on("cmt/share", function (t) {
                    $(t).parents("p").after($(".share_pop"));
                    var e = $(t).parents("p").next(".share_pop");
                    sharetext = "终于找到镜头的亮点：" + $(t).parents(".j-cmt-pic-section").children(".cmt-initiateTxt").text() + "（来自乐迷看点）", sharedesc = "写点想说的吧", shareurl = $(t).parents("p").children("a").attr("href"), sharepic = $(t).parents("p").children("img").attr("src"), e.show(), e.hover(function () {
                        $(this).parent().addClass("clonehover"), i = !0, $(this).show()
                    }, function (t) {
                        t.target;
                        $(this).parent().removeClass("clonehover").addClass("hover"), $(this).hide()
                    }, 100), e.prev("p").click(function () {
                        $(this).removeClass("hover")
                    })
                }), Ker.on("cmt/saySth", function (e) {
                    var i = (t.opt, $(e));
                    if (i.length) {
                        if ($commentTa = t.getCommentContainer().find(".j-cmt-textarea .j-comment-ta") || {}, !$commentTa.length && ($commentTa = t.getCommentContainer().find(".j-cmt-reply-textarea .j-comment-ta"), !$commentTa.length))return;
                        window.setTimeout(function () {
                            t.gotoAnchor($commentTa, !0), $commentTa && $commentTa.focus()
                        }, 5)
                    }
                }), Ker.on("cmt/pic/cmtreply", function (e) {
                    var i = (t.opt, $(e));
                    if (i.length) {
                        var a, s = i.parent().parent().siblings(".j-cmt-son"), o = !1;
                        s.length ? a = s.children(".j-cmt-reply-textarea") : (a = i.parents(".j-cmt-tool").parent().siblings(".j-cmt-reply-textarea"), o = !0), a && a.length > 0 && (t.buildReply(a), n(a, o, i))
                    }
                }), Ker.on("cmt/pic/copy", function (e) {
                    var i = $(e);
                    if (i.length) {
                        var a = i.parents(".j-cmt-tool").siblings(".j-cmt-content");
                        if (a.length) {
                            var s = a.text() || "";
                            s && t.copyToClipboard(s)
                        }
                    }
                }), Ker.on("cmt/avatar", function (e) {
                    var i = $(e), a = i, s = "";
                    if (!Cookie.get("ssouid") && i.length) {
                        var o = "";
                        if (a.is("img") || (a = i.find("img"), a.length || (a = i.siblings("img"))), a.length && (o = a.attr("src"), o && o == t.configs.loginAvatarImgUrl)) {
                            t.setAutoCmt(i);
                            var n = "txt";
                            i.parents(".j-cmt-listTxt").length ? n = "txt" : i.parents(".j-cmt-listPic").length && (n = "pic"), s = "cmt_" + n + "_avatar", i.parent(".j-cmt-reply-textarea").length && (s = "cmt_" + n + "_reply_avatar"), require("bz/comment/utils").openWindow(s)
                        }
                    }
                }), Ker.on("cmt/editAction", function (e, i, a) {
                    var s, o, n = {}, r = (t.opt, "");
                    if (n = a && a.target || e || i, s = $(n).parent().parent(".cmt-textarea").find(".j-comment-ta").val(), "" == s || "有什么感想，您也来说说吧！" == s || s == t.c_redFlagComment || s == t.c_blueFlagComment)Cookie.get("ssouid") || require("bz/comment/utils").openWindow(r); else if (Cookie.get("ssouid"))$.ajax({
                        url: "http://sso.le.com/user/checkNicknameIsDefault",
                        data: {nickname: LETV.cookie("sso_nickname")},
                        type: "GET",
                        dataType: "jsonp",
                        jsonp: "jsonp",
                        success: function (e) {
                            e && e.bean && 1 == e.bean.needMod && 1 == e.bean.isDefault ? t.mustChangeName(n) : e && e.bean && 2 == e.bean.needMod && 1 == e.bean.isDefault && "1" != Cookie.get("modifyName") ? t.canChangeName(n) : (t.doReply(n), "none" != $(".j-cmt-listTxt").find(".j-cmt-empty").css("display") && $(this).hide(), $(".j-txtNum").text(0).removeClass("red"), $(".cmt-listTxt").find(".cmt-empty").hide())
                        }
                    }); else {
                        if (o = $(n), o.length && (o.parents(".j-cmt-reply-textarea").length || (r = "cmt_txt_login"), t.setAutoCmt(o), !r)) {
                            var l = "txt";
                            o.parents(".j-cmt-listTxt").length ? l = "txt" : o.parents(".j-cmt-listPic").length && (l = "pic"), r = "cmt_" + l + "_reply"
                        }
                        require("bz/comment/utils").openWindow(r)
                    }
                    Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=newcomment&link=report", targeturl: ""})
                }), Ker.on("cmt/edit", function (e) {
                    t.showUserInfo()
                }), $(".cmt-userWork.j-cmt-userWork textarea").live("click", function () {
                    this.placeholder = ""
                }), Ker.on("cmt/changeUser", function () {
                    Spirit.userLogin.openLetvLogin("comment", {isForce: !0}), Stats.sendAction({
                        acode: "0",
                        ap: "ch=www&pg=play_v1&bk=newcomment&link=tabsUser",
                        targeturl: ""
                    })
                }), Ker.on("cmt/textcomment", function (i) {
                    var a = __INFO__;
                    30 !== a.cid && e.pid && (1 == a.cid && a.pid && 0 != a.pid ? a.pid = a.pid : a.pid = 0), common._changeContent($(i), !1, function () {
                        $(".j-listTxt").empty(), $(".j-listContent").show(), t.reloadData({
                            api: t.configs.commentListUrl,
                            type: "video",
                            xid: a.vid,
                            pid: a.pid,
                            rows: t.pageCommentsCnt,
                            sort: "",
                            ifpic: "n"
                        }), ceiling.commentShow(function () {
                            CommentList.scrollToNode(), ceiling.clearComment(), ceiling.clearTextarea()
                        })
                    })
                }), Ker.on("cmt/piccomment", function (e) {
                    common._changeContent($(e), !1, function () {
                        t.reloadData({
                            api: t.configs.commentListUrl,
                            type: "video",
                            xid: t.c_info.vid,
                            pid: t.c_info.pid,
                            rows: t.pageCommentsCnt,
                            sort: "",
                            ifpic: "y"
                        })
                    })
                }), Ker.on("cmt/pic/expand", function (t) {
                    var e = $(t), i = e.parents(".j-cmt-picBox");
                    i.removeClass("pic-default"), i.addClass("pic-showBig"), setTimeout(function () {
                        ceiling.clearComment(), ceiling.clearTextarea(), $(window).trigger("scroll")
                    }, 100)
                }), Ker.on("cmt/pic/collapse", function (t) {
                    var e = $(t), i = e.parents(".j-cmt-picBox");
                    i.removeClass("pic-showBig"), i.addClass("pic-default"), setTimeout(function () {
                        ceiling.clearComment(), ceiling.clearTextarea(), $(window).trigger("scroll")
                    }, 100)
                }), Ker.on("cmt/bigPic/box", function (t) {
                    var e = $(t), i = e.parents(".j-cmt-picBox");
                    i.removeClass("pic-showBig"), i.addClass("pic-default"), setTimeout(function () {
                        ceiling.clearComment(), ceiling.clearTextarea(), $(window).trigger("scroll")
                    }, 100)
                }), Spirit.Event.addEvent("loginSuccess", function () {
                    $(".j-cmt-txt").trigger("click"), ceiling.commentShow(function () {
                        ceiling.clearComment(), ceiling.clearTextarea()
                    }), t.buildAvatars(), $(".cmt-changeUser").show()
                }), Spirit.Event.addEvent("logoutSuccess", function () {
                    ceiling.commentShow(function () {
                        ceiling.clearComment(), ceiling.clearTextarea()
                    }), t.buildAvatars(), $(".cmt-changeUser").hide()
                });
                var r = function () {
                    var e = $(".j-cmt-kinds .j-cmt-vote").is(".selected"), i = $(".j-cmt-listVote").find("a.selected").html();
                    e && require("bz/comment/vote")._load(i), t.autoSubmit()
                };
                letv_login_cb.on("loginSuccess", function () {
                    ceiling.commentShow(function () {
                        ceiling.clearComment(), ceiling.clearTextarea()
                    }), $(".cmt-changeUser").show(), r()
                }), letv_login_cb.on("logoutSuccess", function () {
                    ceiling.commentShow(function () {
                        ceiling.clearComment(), ceiling.clearTextarea()
                    }), $(".cmt-changeUser").hide()
                });
                var l = $(window), c = 0, d = 0, p = function () {
                    t.busy || t.renderingFlag || t.getCommentContainer().find(".j-cmt-listPic .j-cmt-section-loding").length && (clearTimeout(d), d = setTimeout(function () {
                        h()
                    }, 100))
                }, h = function () {
                    var e = t.getCommentContainer().find(".j-cmt-listPic:visible"), i = 0;
                    if (e.length && !t.noMoreCmts) {
                        var a = e.find(".j-listPic"), s = a.offset().top + a.height() - 10, o = l.scrollTop() + l.height();
                        o >= i && o >= c && o >= s && t.loadingNextFlag && (i = o, t.reloadData(null, t.loadCmtPic), t.loadingNextFlag = !1), c = o
                    }
                };
                l.on("scroll.cmtScroll", p)
            },
            mustChangeName: function (t) {
                var e = this, i = '<div class="nickname_pop" style="visibility:hidden;"><div class="nick_top modify_before"></div><a href="javascript:;" class="closePop"></a><div class="nick_cnt"><h5>改个漂亮的名字，还能领取<span>10</span>积分!</h5><!--强制--><div class="btn_box"><a href="javascript:;" class="nick_btn nick_btn_l">修 改</a></div></div></div>', a = new Overlay({
                    html: i,
                    visible: !1,
                    events: {
                        "click .closePop": function () {
                            this.hide()
                        }, "click .nick_btn_l": function () {
                            this.hide(), e.changingName(t)
                        }
                    }
                });
                a.show()
            },
            canChangeName: function (t) {
                var e = this, i = '<div class="nickname_pop" style="visibility:hidden;"><div class="nick_top modify_before"></div><a href="javascript:;" class="closePop"></a><div class="nick_cnt"><h5>改个漂亮的名字，还能领取<span>10</span>积分!</h5><!--非强制--><div class="btn_box"><a href="javascript:;" class="nick_btn nick_cancel">取 消</a><a href="javascript:;" class="nick_btn nick_sure">修 改</a></div></div></div>', a = new Overlay({
                    html: i,
                    visible: !1,
                    events: {
                        "click .closePop,.nick_cancel": function () {
                            this.hide(), Cookie.set("modifyName", "1", {exp: 720})
                        }, "click .nick_sure": function () {
                            this.hide(), e.changingName(t), Cookie.set("modifyName", "1", {exp: 720})
                        }
                    }
                });
                a.show()
            },
            changingName: function (t) {
                var e = this, i = '<div class="nickname_pop" style="visibility:hidden"><div class="nick_top modifing"></div><a href="javascript:;" class="closePop"></a><div class="nick_cnt"><div class="input_box"><input type="text" name = "{username}" value="{username}" class="j_username"><a href="javascript:;" class="clear"></a></div><p class="n_tips">昵称规则为4-32位字符，支持中英文、数字或“_”，不能用纯数字</p><p class="error_tips"></p><div class="btn_box"><a href="javascript:;" class="nick_btn nick_cancel">关 闭</a><a href="javascript:;" class="nick_btn nick_sure disabled j_save">保 存</a></div></div></div>', a = require("air/util/tpl"), s = new a(i), o = LETV.cookie("sso_nickname"), n = s.render({username: o}), r = new Overlay({
                    html: n,
                    visible: !1,
                    events: {
                        "click .closePop,.nick_cancel": function () {
                            this.hide()
                        }, "click .j_save": function () {
                            if (!$(".j_save").hasClass("disabled")) {
                                var i = this;
                                $.ajax({
                                    url: "http://i.le.com/api/user/updatenickname",
                                    data: {nickname: $(".j_username").val(), action: "namemodify"},
                                    dataType: "jsonp",
                                    success: function (a) {
                                        a && 200 == a.code ? (i.hide(), e.changedName(t)) : e.showTips(a)
                                    }
                                })
                            }
                        }
                    }
                });
                r.show(), $(".j_username").bind("input propertychange", function () {
                    $(".error_tips").hide(), $(".error_tips").prev(".n_tips").show();
                    var t = $(".j_username").attr("name"), e = $(this).val(), i = /^(?!\d*$)[0-9a-zA-Z_\u4e00-\u9fa5]+\d*$/.test(e), a = e.replace(/[^\x00-\xff]/g, "**").length;
                    $(this).val() != t && "" != $(this).val() && i && a >= 4 && 32 >= a ? $(".nick_btn.nick_sure").removeClass("disabled") : $(".nick_btn.nick_sure").addClass("disabled")
                }), $(".j_username").next(".clear").click(function () {
                    $(".j_username").val(""), $(".nick_btn.nick_sure").addClass("disabled"), $(".error_tips").hide(), $(".error_tips").prev(".n_tips").show()
                })
            },
            changedName: function (t) {
                var e = this, i = '<div class="nickname_pop"><div class="nick_top modified"></div><a href="javascript:;" class="closePop"></a><div class="nick_cnt"><div class="add_jifen"><i class="ico_jifen"></i><p><span class="n_num">+10</span>积分<a href="http://jifen.my.le.com/?ref=zhanghao" target="_blank">去兑换</a></p></div><div class="btn_box"><a href="javascript:;" class="nick_btn nick_btn_l">完 成</a></div></div></div>', a = new Overlay({
                    html: i,
                    visible: !1,
                    events: {
                        "click .nick_btn_l,.closePop": function () {
                            this.hide(), e.doReply(t), "none" != $(".j-cmt-listTxt").find(".j-cmt-empty").css("display") && $(this).hide(), $(".j-txtNum").text(0).removeClass("red"), $(".cmt-listTxt").find(".cmt-empty").hide()
                        }
                    }
                });
                a.show()
            },
            showTips: function (t) {
                var e = $(".error_tips");
                e.text(t && t.message), e.prev(".n_tips").hide(), e.show()
            },
            showLoadingBar: function (t, e) {
                var i = this, a = i.getCommentContainer(), s = a.find(".j-cmt-listPic:visible");
                if (s.length || (s = a.find(".j-cmt-listTxt:visible")), s.length) {
                    var o = s.find(".j-cmt-section-loding"), n = s.find(".j-cmt-empty:visible");
                    if (t) {
                        if (!o.is(":visible")) {
                            n.hide(), o.show();
                            var r = 1;
                            $loadingSpan = o.find(".j-cmt-loading"), i.loadingTimer = setInterval(function () {
                                for (var t = "", e = 1; r >= e; e++)t += ".";
                                r++, r = r > 3 ? 1 : r, $loadingSpan.text(" " + t)
                            }, 500)
                        }
                    } else i.loadingTimer && clearInterval(i.loadingTimer), i.loadingNextFlag = !0, o.hide()
                }
            },
            processData: function (t) {
                var e = {};
                return e
            },
            updatePageInfo: function (t) {
            },
            getCommentContainer: function () {
                var t = this;
                t.opt;
                return t.cacheTank.c_commentContainer ? t.cacheTank.c_commentContainer : t.cacheTank.c_commentContainer = $(t.commentSelector)
            },
            gotoAnchor: function (t, e) {
                var i;
                if ("object" == typeof t)i = t; else if (i = $(t), i.length < 0)return;
                var a = $(window), s = $(window.document.documentElement), o = navigator.userAgent.toLowerCase();
                o.indexOf("webkit") > -1 && (s = $(window.document.body));
                var n = i.offset();
                if (e) {
                    var r = n.top - a.scrollTop(), l = a.height() - r;
                    return void(l < i.outerHeight() && s.animate({scrollTop: n.top}, "normal"))
                }
                s.animate({scrollTop: n.top}, "normal")
            },
            copyToClipboard: function (t) {
                if (window.clipboardData) {
                    if (window.clipboardData.setData("Text", t))return alert("复制成功！"), !0
                } else {
                    var e = "Ctrl";
                    -1 != navigator.userAgent.indexOf("Mac OS X") && (e = "Command"), window.prompt("请通过键盘上" + e + "和C键或者右键复制文本到剪贴板", t)
                }
            },
            gotopage: function (t, e) {
                var i = this, a = 0, s = "", o = e || 0;
                i.opt && "y" == i.opt.singlecmt ? (a = i.singleCmtPageIndex, s = "loadReplyData") : (a = i.pageIndex, i.pageIndex = o, s = "loadData"), o > 0 && o != a && i[s](o, null, !0)
            },
            scrollToNode: function () {
                var t = require("air/util/gotoNode");
                t("#plOccupying", -42)
            },
            updateItem: function (t, e) {
                if (t && e.length) {
                    var i = t.total || 0, a = (t.like || 0, e.parent().siblings(".j-cmt-tool"));
                    if (a.length) {
                        var s = "回复(" + i + ")";
                        a.find(".j-tool-reply .j-i-reply-num").text(s)
                    }
                }
            },
            replyMore: function (t, e) {
                var i = "", a = this;
                e || (e = {}), 1 == t.rule && t.authData && t.authData.length ? list = t.authData.concat(t.data || []) : list = t.data || [];
                var s = "makeHtmlItem", o = 2;
                e.parents(".j-cmt-pic-section").length && (s = "makePicHtmlItem", o = 3);
                for (var n = 0; n < list.length; n++)i += a[s](list[n], o);
                i && (e.siblings(".j-cmt-info").remove(), e.before(i), e.hide()), a.updateItem(t, e)
            },
            initOpt: function (t) {
                var e = this;
                e.opt = t;
                var i = window.__INFO__ || {};
                i.video || {}, __INFO__.cid
            },
            checkBusy: function () {
                return this.busy
            },
            loadData: function (t, e, i, a) {
                $(".vote_comment,.j-cmt-listTxt,.j-cmt-box .cmt-count").show(), $(".j-cmt-box .H203").text("乐迷评论").removeClass("closeComment"), Config = __INFO__.video || {};
                var s = {pid: Config.pid, mid: Config.mmsid, cid: Config.cid, vid: Config.vid}, o = this;
                $.ajax({
                    type: "POST",
                    url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/queryMmsTotalPCount",
                    data: s,
                    dataType: "jsonp",
                    success: function (s) {
                        if (s && s.is_comm) {
                            var n = a || o.opt, r = (__INFO__, o.getCommentContainer());
                            if (o.busy)return void o.showLoadingBar(!1);
                            o.busy = !0, "y" === n.ifpic ? t || (t = o.picPageIndex + 1) : "n" === n.ifpic && (t || (t = o.pageIndex + 1));
                            var l = {
                                cid: __INFO__.cid,
                                type: n.type,
                                rows: n.rows,
                                page: t,
                                sort: n.sort,
                                source: 1,
                                listType: 1
                            };
                            n.filter && (l.filter = n.filter), n.xid && (l.xid = n.xid), l.pid = n.pid, n.cmtType ? l.ctype = n.cmtType : "n" === n.ifpic ? l.ctype = "cmt,img,vote" : "y" === n.ifpic && (l.ctype = "img");
                            var c = r.find(".j-cmt-kinds li.selected");
                            c.length && c.hasClass("j-cmt-vote") && "n" === n.ifpic && (l.ctype = "vote"), $.ajax({
                                url: n.api,
                                dataType: "jsonp",
                                cache: !0,
                                data: l,
                                success: function (a) {
                                    var s = a.result;
                                    "200" == s ? a.data && a.data.length || a.authData && a.authData.length ? (o.noMoreCmts = !1, "y" === n.ifpic ? o.picPageIndex = t : "n" === n.ifpic && (o.pageIndex = t)) : o.noMoreCmts = !0 : o.serverAlert(s), o.render(a, n.ifpic, i, t, function () {
                                        o.busy = !1, e && e()
                                    })
                                },
                                error: function (t) {
                                    o.requestFailure(t)
                                }
                            })
                        } else $(".vote_comment,.j-cmt-listTxt,.j-cmt-box .cmt-count").hide(), $(".j-cmt-box .H203").text("评论已关闭").addClass("closeComment"), events.emit(events.COMMENT_CEIL)
                    }
                })
            },
            loadCmtPic: function () {
                this.loadData()
            },
            justLoadBusy: !1,
            loadReplyDataBusy: !1,
            loadReplyData: function (t, e, i, a) {
                var s = this, o = s.opt;
                if (!s.loadReplyDataBusy) {
                    s.loadReplyDataBusy = !0, t || (t = s.singleCmtPageIndex + 1);
                    var n = {type: o.type, rows: o.rows, page: t, sort: o.sort};
                    n.commentid = o.commentid || "", n.ctype = "cmt,img,vote", $.ajax({
                        url: o.api,
                        dataType: "jsonp",
                        cache: !0,
                        data: n,
                        success: function (n) {
                            var r, l = n.result;
                            "200" == l && n.data && n.data != {} ? (s.singleCmtPageIndex = t, r = 1 == n.rule && n.authData && n.authData.length ? n.authData.concat(n.data || []) : n.data || []) : (a || s.serverAlert(l), r = []), a ? a.replys = r : (n.data = r, a = n), s.render(a, o.ifpic, i, function () {
                                s.loadReplyDataBusy = !1, e && e()
                            })
                        },
                        error: function (t) {
                            s.requestFailure(t)
                        }
                    })
                }
            },
            updateLoading: function (t) {
                var e, i, a, s, o, n = this, r = n.opt;
                if (e = "y" == r.ifpic ? n.picPageIndex || 0 : n.pageIndex || 0, !t)return void n.showLoadingBar(!1);
                var l = n.getCommentContainer();
                a = t.total || 0, i = Math.ceil(a / n.pageCommentsCnt), s = ".j-cmt-listTxt:visible", o = l.find(s), o.length || (s = ".j-cmt-listPic:visible", o = l.find(s)), n.showLoadingBar(!1), i || ($(".cmt-count").html("0条"), o.find(".j-cmt-empty").show())
            },
            renderEnd: function (t) {
                for (var e, i = this; i.renderEndCb.length;) {
                    var a = i.renderEndCb.shift();
                    if ("function" == typeof a)a(); else {
                        e = a.func;
                        var s = e.context ? e.context : this;
                        "function" == typeof e && e.call(s)
                    }
                }
                i.renderingFlag = !1;
                var o = typeof t;
                "function" === o ? t && t() : "number" === o && 1 === t && 1 === i.clickedPage && (i.clickedPage = 0, i.scrollToNode()), events.emit(events.COMMENT_CEIL)
            },
            getActiveContainer: function (t) {
                var e = t.find(".j-cmt-tabs:visible");
                return e.length ? e : t
            },
            preRender: function (t) {
                var e = this, i = e.getCommentContainer(), a = e.opt;
                if (!t)return !1;
                if (!0 === e.noMoreCmts)return !1;
                if ("y" == a.singlecmt && t._id && t.content ? list = t : 1 == t.rule && t.authData && t.authData.length ? list = t.authData.concat(t.data || []) : list = t.data || [], dataLength = list.length ? list.length : 0, "y" == a.singlecmt && t._id && (t.content || t.vote)) {
                    if (t._id && t.content)return t.replynum && t.replys && t.replys.length && this.getActiveContainer(i).find(".j-page-info").show(), !0
                } else {
                    if (dataLength)return this.getActiveContainer(i).find(".j-cmt-empty:visible").hide(), this.getActiveContainer(i).eq(0).find(".j-page-info").show(), !0;
                    if (!t.total)return this.getActiveContainer(i).find(".j-page-info").hide(), !1;
                    if (!dataLength)return !1
                }
                var s = i.find && i.find(".j-listTxt");
                if (s.length && s.is(":visible") || (s = i.find(".j-cmt-listPic .j-listPic")), !s.length || !s.is(":visible")) {
                    var o = ".j-listTxt .j-cmt-info .j-cmt-son";
                    s = i.find(o)
                }
                return s.length && s.is(":visible") ? !0 : !1
            },
            requestFailure: function (t) {
                var e = this;
                e.updateLoading(t)
            },
            serverAlert: function (t) {
                var e = this;
                e.configs.msgEnum[t] && console.log(e.configs.msgEnum[t])
            },
            cmtTips: function (t, e, i) {
                var a = this;
                $tips = e.find(".cmt-popTips"), a.configs.msgEnum[t] && $tips.find(".cnt").text(a.configs.msgEnum[t]), $tips.fadeIn(), setTimeout(function () {
                    $tips.fadeOut()
                }, 3e3)
            },
            render: function (t, e, i, a, s) {
                var o = this, n = o.opt;
                o.renderEndCb.push(s), o.preRender(t) ? (o.renderingFlag = !0, "n" == e ? "y" == n.singlecmt ? o.renderCmtText(t, i) : o.renderText(t, !0) : "y" == e && o.renderList(t, i), o.clearHotTop(), 1 == a && (o.renderHot(t), o.renderTop(t), o.renderNotice(t)), this.cmtNum = parseInt($(".cmt-count").eq(0).text()), $(".cmt-count").text(this._num + this.cmtNum + "条"), $(".j-pageAll").text(this._num + this.cmtNum + "条")) : (o.renderEnd(), o.updateLoading(t))
            },
            makeHtmlItem: function (t, e) {
                var i = this, a = i.defaultAvatar, s = loginUsername = "", o = i.opt, n = "", r = "", l = "", c = i.getLoginInfo() || "", d = 'style="display:none;"', p = !!Cookie.get("ssouid"), h = "http://i0.letvimg.com/lc05_img/201601/07/09/25/dl_temp.jpg", u = "";
                if (s = c.loginAvatar || "", loginUsername = c.showReplyTextara || "", 1 == e) {
                    var m = {loginAvatar: s, loginUsername: loginUsername || ""};
                    if ("y" == o.singlecmt && (d = 'style="display:block;"', t._replyPageInfo = i.pageInfoTpl, t._id && (m.cmtId = t._id), t.pid && (m.pid = t.pid), t.xid && (m.xid = t.xid), t.cid && (m.cid = t.cid)), m.showReplyTextara = d, p && (m.configUserAvatarUrl = i.configUserAvatarUrl), r = i.jCmtReplyTextareaTpl.render(m), t._replyTextarea = r, "y" !== o.singlecmt && t.replynum && t.replynum > 3)if (t.replynum <= i.pageCommentsCnt)t._replyMore = Tpl.simple(i.showMoreReplysTpl, {replysMoreNum: t.replynum - 3}); else {
                        var v = i.getCmtDetailUrl(t);
                        t._replyMore = Tpl.simple(i.viewMoreReplysTpl, {commentUrl: v, replysMoreNum: t.replynum - 3})
                    }
                    if ("y" === o.singlecmt && (t._singlecmt = "y"), "img" === t.cmtType && (u = Tpl.simple(this.textPicTpl, {
                            play: "y" === o.singlecmt ? "" : Tpl.simple(this.textPicPlayTpl, {
                                href: this.getCmtDetailUrl(t),
                                title: t.title || ""
                            }), title: t.title || "", smallImg: t.img || h, bigImg: t.imgPack ? t.imgPack[310] || h : h
                        }), u && (t.imgHtml = u)), "vote" === t.cmtType) {
                        var f = require("bz/comment/vote");
                        n += f._makeHtml(t)
                    } else n += i.textItemTpl.render(t, function (t) {
                        t.content;
                        if (t.username = t.user ? t.user.username : "", t._avatar = t.user ? t.user.photo : a, t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t.voteFlag && "1" == t.voteFlag ? t.cmtFlag = "red_flag" : t.voteFlag && "2" == t.voteFlag && (t.cmtFlag = "blue_flag"), t.user && t.user.cooperation && t.user.cooperation.profile_url) {
                            var e = decodeURIComponent(t.user.cooperation.profile_url);
                            t._thirdParty = '<a style="margin-left:4px;position:relative;top:2px;" href="' + e + '" target="_blank"> <img src="' + t.user.cooperation.icon + '" /></a>', t._thirdPartyHref = e, t._thirdPartyUsername = '<a href="' + e + '" target="_blank"> ' + t.username + " </a>"
                        }
                        t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.cid || o && o.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.pid || o && o.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.vid || o && o.xid || ""), t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0
                    })
                } else 2 == e && (n = "", n += i.textSonItemTpl.render(t, function (t) {
                    t.content;
                    t.username = t.user ? t.user.username : "", t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t._avatar = t.user ? t.user.photo : a, t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.cid || o && o.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.pid || o && o.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.vid || o && o.xid || ""), t.reply && t.reply.user && (l = t.reply.user && t.reply.user.username || "", t.replySbd = t.username == l ? "" : l, t.isLoginReplyname = loginUsername === l)
                }));
                return n
            },
            makeHotHtmlItem: function (t) {
                var e = this, i = e.defaultAvatar, a = loginUsername = "", s = e.opt, o = "", n = "", r = e.getLoginInfo() || "", l = 'style="display:none;"', c = !!Cookie.get("ssouid"), d = "http://i0.letvimg.com/lc05_img/201601/07/09/25/dl_temp.jpg", p = "";
                a = r.loginAvatar || "", loginUsername = r.showReplyTextara || "";
                var h = {loginAvatar: a, loginUsername: loginUsername || ""};
                return c && (h.configUserAvatarUrl = e.configUserAvatarUrl), h.showReplyTextara = l, n = e.jCmtReplyTextareaTpl.render(h), t._replyTextarea = n, "y" === s.singlecmt && (t._singlecmt = "y"), "img" === t.cmtType && (p = Tpl.simple(this.textPicTpl, {
                    play: "y" === s.singlecmt ? "" : Tpl.simple(this.textPicPlayTpl, {
                        href: this.getCmtDetailUrl(t),
                        title: t.title || ""
                    }), title: t.title || "", smallImg: t.img || d, bigImg: t.imgPack ? t.imgPack[310] || d : d
                }), p && (t.imgHtml = p)), o += e.hotItemTpl.render(t, function (t) {
                    if (t.username = t.user ? t.user.username : "", t._avatar = t.user ? t.user.photo : i, t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t.user && t.user.cooperation && t.user.cooperation.profile_url) {
                        var e = decodeURIComponent(t.user.cooperation.profile_url);
                        t._thirdParty = '<a style="margin-left:4px;position:relative;top:2px;" href="' + e + '" target="_blank"> <img src="' + t.user.cooperation.icon + '" /></a>', t._thirdPartyHref = e, t._thirdPartyUsername = '<a href="' + e + '" target="_blank"> ' + t.username + " </a>"
                    }
                    t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.cid || s && s.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.pid || s && s.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.vid || s && s.xid || ""), t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0
                })
            },
            makeTopHtmlItem: function (t) {
                var e = this, i = e.defaultAvatar, a = loginUsername = "", s = e.opt, o = "", n = "", r = e.getLoginInfo() || "", l = 'style="display:none;"', c = !!Cookie.get("ssouid"), d = "http://i0.letvimg.com/lc05_img/201601/07/09/25/dl_temp.jpg", p = "";
                a = r.loginAvatar || "", loginUsername = r.showReplyTextara || "";
                var h = {loginAvatar: a, loginUsername: loginUsername || ""};
                return c && (h.configUserAvatarUrl = e.configUserAvatarUrl), h.showReplyTextara = l, n = e.jCmtReplyTextareaTpl.render(h), t._replyTextarea = n, "y" === s.singlecmt && (t._singlecmt = "y"), "img" === t.cmtType && (p = Tpl.simple(this.textPicTpl, {
                    play: "y" === s.singlecmt ? "" : Tpl.simple(this.textPicPlayTpl, {
                        href: this.getCmtDetailUrl(t),
                        title: t.title || ""
                    }), title: t.title || "", smallImg: t.img || d, bigImg: t.imgPack ? t.imgPack[310] || d : d
                }), p && (t.imgHtml = p)), o += e.topItemTpl.render(t, function (t) {
                    if (t.username = t.user ? t.user.username : "", t._avatar = t.user ? t.user.photo : i, t.starClass = t.user && t.user.isStar ? "cmt-star-bg" : "", t.styleColor = t.user && t.user.isStar ? "color:#d1544f" : "color:#529BEF", t.user && t.user.cooperation && t.user.cooperation.profile_url) {
                        var e = decodeURIComponent(t.user.cooperation.profile_url);
                        t._thirdParty = '<a style="margin-left:4px;position:relative;top:2px;" href="' + e + '" target="_blank"> <img src="' + t.user.cooperation.icon + '" /></a>', t._thirdPartyHref = e, t._thirdPartyUsername = '<a href="' + e + '" target="_blank"> ' + t.username + " </a>"
                    }
                    t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.cid || s && s.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.pid || s && s.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.vid || s && s.xid || ""), t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0
                })
            },
            makePicHtmlItem: function (t, e) {
                if (window.location.host == LETV.CONSTANT.host.PINGLUN_LETV_COM) {
                    var i = this, a = i.defaultAvatar, s = loginUsername = "", o = i.opt, n = "", r = "", l = i.getLoginInfo() || "";
                    s = l.loginAvatar || "", loginUsername = l.loginUsername || "", 4 == e ? n += i.picItemTpl.render(t, function (t) {
                        t.content;
                        if (t.username = t.user ? t.user.username : "", t.showUserName = LETV.Utils.clipstring(t.username, i.defaultUserNameLengthSingle) || "",
                                t._avatar = t.user ? t.user.photo : a, t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t.htime) {
                            var e = hourStr = minuteStr = secondStr = "";
                            hourStr = Math.floor(t.htime / 3600), minuteStr = Math.floor(t.htime % 3600 / 60), secondStr = t.htime % 3600 % 60, e += hourStr > 1 ? hourStr > 9 ? hourStr : "0" + hourStr : "00", e += ":", e += minuteStr > 1 ? minuteStr > 9 ? minuteStr : "0" + minuteStr : "00", e += ":", e += secondStr > 0 ? secondStr > 9 ? secondStr : "0" + secondStr : "00"
                        }
                        t.title && (t._title = LETV.Utils.clipstring(t.title, i.defaultTitleLength) || "", t.picTitle = "图片来自：" + t.title, e && (t.picTitle += " " + e)), e && (t._playBtnStr = "从" + e + "开始播放"), t.imgPack && t.imgPack[310] ? t._cmtpic = t.imgPack[310] : t._cmtpic = t.img ? t.img : "", t._picPlayHref = i.getCmtDetailUrl(t), t.replynum && t.replynum > 3 && (t.replynum <= i.pageCommentsCnt ? t._replyMore = Tpl.simple(i.showMoreReplysTpl, {replysMoreNum: t.replynum - 3}) : t._replyMore = Tpl.simple(i.viewMoreReplysTpl, {
                            commentUrl: t._picPlayHref || "",
                            replysMoreNum: t.replynum - 3
                        })), t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0
                    }) : 3 == e && (n = "", n += i.picSonItemTpl.render(t, function (t) {
                        t.content;
                        t.username = t.user ? t.user.username : "", t.showUserName = LETV.Utils.clipstring(t.username, i.defaultUserNameLengthSingle) || "", t._avatar = t.user ? t.user.photo : a, t._replynum = t.replynum ? t.replynum < 9999 ? t.replynum : Math.floor(t.replynum / 1e3) + "k" : 0, t._like = t.like ? t.like < 9999 ? t.like : Math.floor(t.like / 1e3) + "k" : 0, t.cid || (t.cid = window.__INFO__ && window.__INFO__.cid || o && o.cid || ""), t.pid || (t.pid = window.__INFO__ && window.__INFO__.pid || o && o.pid || ""), t.xid || (t.xid = window.__INFO__ && window.__INFO__.vid || o && o.xid || ""), t.reply && t.reply.user && (t.replySbd = t.reply.user && t.reply.user.username, r = t.reply.user && t.reply.user.username || "", t.replySbd = t.username == r ? "" : r, t.replySbd = LETV.Utils.clipstring(t.replySbd, i.defaultUserNameLength), t.replySbd && (t.showUserName = LETV.Utils.clipstring(t.username, i.defaultUserNameLength) || ""), t.isLoginReplyname = loginUsername === r)
                    }))
                }
                return n
            },
            getReplyHtml: function (t) {
                var e = this, i = "";
                if (t && t.length)for (var a = 0; a < t.length; a++)i += e.makeHtmlItem(t[a], 2);
                return i
            },
            getCmtDetailUrl: function (t) {
                var e = this, i = "", a = "", s = t || e.opt;
                return a = t.title || "", a || (a = window.__INFO__ && window.__INFO__.video && window.__INFO__.video.title || e.defaults.simgleCmtPageTitle), showVideo = "y" == e.opt.ifpic ? 1 : 0, "img" === t.cmtType && (showVideo = 1), i = e.cmtDetailUrl + "?", i += "c1=" + encodeURIComponent(s._id), i += "&c2=" + encodeURIComponent(s.pid), i += "&c3=" + encodeURIComponent(s.cid), i += "&c4=" + encodeURIComponent(s.xid), i += "&c5=" + encodeURIComponent(s.htime || ""), i += "&c6=" + encodeURIComponent(showVideo), i += "&t=" + encodeURIComponent(a), i += "&ba=" + encodeURIComponent(window.location.href)
            },
            getLoginInfo: function () {
                var t;
                return t = {
                    isLogin: !!Cookie.get("ssouid"),
                    loginAvatar: Cookie.get("ssouid") ? Spirit.UserValidate.getUserInfo().headicon_50 : "",
                    loginUsername: LETV.cookie("sso_nickname") || ""
                }
            },
            getResponseList: function () {
                var t = this.getCommentContainer(), e = t.find(".j-cmt-listPic .j-listPic"), i = $(document.body), a = 3, s = e.data("responsecss");
                if (!s)return 0;
                if (s && this.picLis[s])for (var o in this.picLis[s])if (this.picLis[s].hasOwnProperty(o)) {
                    var n = o;
                    if (n = n.replace("resp", "resp-"), i.hasClass(n)) {
                        a = this.picLis[s][o];
                        break
                    }
                }
                return a
            },
            renderText: function (t, e) {
                var i = this, a = i.opt, s = i.getCommentContainer(), o = this.pageIndex, n = 0, r = "", l = !!Cookie.get("ssouid"), c = i.getLoginInfo().loginAvatar, d = "", p = {}, h = 0, u = (i.defaultAvatar, 0);
                "y" == a.singlecmt || (1 == t.rule && t.authData && t.authData.length ? (p = t.authData.concat(t.data || []), h = t.authData.length) : p = t.data || []), $(".cmt-count").html(t.total + t.replyTotal + "条"), i.updateLoading(t), n = p.length ? p.length : 0, n || t.total ? (t.data && (u = t.data.length || 0), pager.updatePagerAt.call(this, t.total, t.data.length), pager.updatePager.call(this, t, i.pageIndex)) : (s.find(".j-page-info").hide(), e = !0), l && c ? d = LETV.cookie("sso_nickname") || "" : (c = this.defaultAvatar, d = "");
                for (var m = 0; n > m; m++) {
                    var v = "";
                    l && c && (p[m].loginAvatar = c, p[m].loginUsername = d), v += i.getReplyHtml(p[m].replys || []), v && (p[m].replysHtml = v), r += i.makeHtmlItem(p[m], 1)
                }
                e ? s.find && s.find(".j-listTxt").html(r) : s.find && s.find(".j-listTxt").append(r), i.renderEnd(o)
            },
            renderHot: function (t) {
                var e = this, i = e.opt, a = e.getCommentContainer(), s = (this.pageIndex, ""), o = !!Cookie.get("ssouid"), n = e.getLoginInfo().loginAvatar, r = "", l = [];
                e.defaultAvatar;
                if (l = t.godData || [], l.length) {
                    o && n ? r = LETV.cookie("sso_nickname") || "" : (n = this.defaultAvatar, r = "");
                    for (var c = 0, d = l.length; d > c; c++) {
                        var p = "";
                        if (o && n && (l[c].loginAvatar = n, l[c].loginUsername = r), p += e.getReplyHtml(l[c].replys || []), p && (l[c].replysHtml = p), "y" !== i.singlecmt && l[c].replynum && l[c].replynum > 3)if (l[c].replynum <= e.pageCommentsCnt)l[c]._replyMore = Tpl.simple(e.showMoreReplysTpl, {replysMoreNum: l[c].replynum - 3}); else {
                            var h = e.getCmtDetailUrl(l[c]);
                            l[c]._replyMore = Tpl.simple(e.viewMoreReplysTpl, {
                                commentUrl: h,
                                replysMoreNum: l[c].replynum - 3
                            })
                        }
                        s += e.makeHotHtmlItem(l[c], 1)
                    }
                    a.find && $(s).insertBefore(a.find(".cmt-listTxt.j-cmt-listTxt.j-cmt-tabs").children().eq(0))
                }
            },
            renderTop: function (t) {
                var e = this, i = e.opt, a = e.getCommentContainer(), s = (this.pageIndex, ""), o = !!Cookie.get("ssouid"), n = e.getLoginInfo().loginAvatar, r = "", l = [];
                e.defaultAvatar;
                if (l = t.topData || [], l.length) {
                    o && n ? r = LETV.cookie("sso_nickname") || "" : (n = this.defaultAvatar, r = "");
                    for (var c = 0, d = l.length; d > c; c++) {
                        var p = "";
                        if (o && n && (l[c].loginAvatar = n, l[c].loginUsername = r), p += e.getReplyHtml(l[c].replys || []), p && (l[c].replysHtml = p), "y" !== i.singlecmt && l[c].replynum && l[c].replynum > 3)if (l[c].replynum <= e.pageCommentsCnt)l[c]._replyMore = Tpl.simple(e.showMoreReplysTpl, {replysMoreNum: l[c].replynum - 3}); else {
                            var h = e.getCmtDetailUrl(l[c]);
                            l[c]._replyMore = Tpl.simple(e.viewMoreReplysTpl, {
                                commentUrl: h,
                                replysMoreNum: l[c].replynum - 3
                            })
                        }
                        s += e.makeTopHtmlItem(l[c], 1)
                    }
                    a.find && $(s).insertBefore(a.find(".cmt-listTxt.j-cmt-listTxt.j-cmt-tabs").children().eq(0))
                }
            },
            renderNotice: function (t) {
                var e = this, i = t.announcementData;
                if (i && i.content) {
                    var a = {noticeText: i.content || ""};
                    i.link_a ? (a.noticeUrl = "href=" + i.link_a, a.noticeClass = "") : (a.noticeClass = "class=default", a.noticeUrl = "");
                    var s = new Tpl(e.noticeTpl), o = s.render(a);
                    $(".cmt-listTxt.j-cmt-listTxt.j-cmt-tabs").children().eq(0).before(o)
                }
            },
            clearHotTop: function () {
                $(".cmt-listTxt.j-cmt-listTxt.j-cmt-tabs").children(".cmt-info.j-cmt-info").remove(), $(".cmt-listTxt.j-cmt-listTxt.j-cmt-tabs").children(".j_notice").remove()
            },
            renderList: function (t, e) {
                var i, a = this, s = (this.opt, a.getCommentContainer()), o = s.find(".j-cmt-listPic .j-listPic"), n = a.getLoginInfo().loginAvatar, r = !!Cookie.get("ssouid"), l = a.defaultAvatar, c = s.find(".j-cmt-title .j-cmt-pic"), d = a.picPageIndex, p = [];
                if (a.updateLoading(t), i = 1 == t.rule && t.authData && t.authData.length ? t.authData.concat(t.data || []) : t.data || [], !i || !i.length)return void a.renderEnd();
                var h = 0, u = "";
                if (h = a.getResponseList(o), 0 === h && (h = 3), h -= o.children().length, 0 > h)for (h = -h; h--;)o.children("li").last().remove(); else {
                    for (; h--;)u += "<li></li>";
                    u && o.append(u)
                }
                var m, v = o.children("li"), f = v.length, _ = [], g = 0, y = function () {
                    var t = 1;
                    for (g = 0, _[0] = v.eq(0).height(); f > t; t++)_[t] = v.eq(t).height(), _[t] < _[g] && (g = t)
                };
                for (m = 0; f > m; m++)c.length && 1 === d && e ? v.eq(m).html("") : !c.length && (d - 1) % 3 === 0 && e && (0 === m ? v.eq(m).children(".j-cmt-pic-section").remove() : v.eq(m).html(""));
                r && n ? loginUsername = LETV.cookie("sso_nickname") || "" : (n = l, loginUsername = ""), p = $.extend(p, i);
                var b = function (t) {
                    var e = "";
                    if (!t)return "";
                    if (t.replys && t.replys.length > 0)for (var i = 0; i < t.replys.length; i++)e += a.makePicHtmlItem(t.replys[i], 3);
                    return e && (t.replysHtml = e), t.loginAvatar = n, t.loginUsername = loginUsername, a.makePicHtmlItem(t, 4)
                }, w = function () {
                    var t = "";
                    if (p.length) {
                        var e = p.shift();
                        e && (t = b(e), y(), v.eq(g).append(t), setTimeout(w, 20))
                    } else a.renderEnd(d)
                };
                w(), c.length || (0 === d % 3 || i.length < a.pageCommentsCnt || i.length + a.pageCommentsCnt * (d - 1) === t.total ? (a.showLoadingBar(!1), o.nextAll(".j-cmt-section-loding").remove(), o.nextAll(".j-page-info").length || o.parents(".j-cmt-listPic").append(a.picPageInfoTpl), pager.updatePager.call(this, t, this.pageIndex)) : (o.nextAll(".j-page-info").remove(), o.nextAll(".j-cmt-section-loding").length || o.after(a.loadingBarTpl)))
            },
            renderCmtText: function (t, e) {
                var i = this, a = i.getCommentContainer(), s = "", o = "", n = "", r = i.getLoginInfo().loginAvatar, l = !!Cookie.get("ssouid"), c = {}, d = (this.defaultAvatar, {}), p = {};
                c = t;
                t.replynum || t.total || 0;
                if (d = $.extend(d, t), t && t.data && (t = t.data), i.updateLoading(t), l && r ? loginUsername = LETV.cookie("sso_nickname") || "" : (r = this.defaultAvatar, loginUsername = ""), t._id && !t.length ? (n += i.getReplyHtml(c.replys || []), n && (c.replysHtml = n), l && r && (c.loginAvatar = r, c.loginUsername = loginUsername), o += i.makeHtmlItem(c, 1), s = ".j-listTxt") : t.length && (o += i.getReplyHtml(t || []), s = ".j-listTxt .j-cmt-info .j-cmt-son"), e)if (p = a.find(s), d && !d._id) {
                    p.length && p.children(".j-cmt-info").remove(), p.prepend(o)
                } else a.find && a.find(s).html(o), i.buildReply(p.find(".j-cmt-reply-textarea")); else a.find && a.find(s).append(o);
                var h = 0;
                t._id && !t.length ? d.replynum && (h = d.replys && d.replys.length || 0) : d.data && (h = d.data.length || 0), pager.updatePager.call(this, t, this.pageIndex), pager.updatePagerAt.call(this, t.total, t.data.length), i.renderEnd()
            },
            addComment: function (t, e) {
                var i = this, a = i.opt, s = (window.__INFO__ && window.__INFO__.video, i.getCommentContainer()), o = "", n = t.data ? t.data[0] : t, r = e.parents(".cmt-info").find(".cmt-icon-hot").length, l = e.parents(".cmt-info").find(".cmt-icon-top").length, c = e ? e.hasClass("j-cmt-textarea") ? 1 : e.parents(".j-cmt-pic-section").length ? 3 : 2 : 4;
                if (n.cid || (n.cid = __INFO__ && __INFO__.cid || a && a.cid || ""), n.pid || (n.pid = __INFO__ && __INFO__.pid || a && a.pid || ""), n.xid || (n.xid = __INFO__ && __INFO__.vid || a && a.xid || ""), 1 === c) {
                    var d = 0, p = s.find(".j-listTxt");
                    d = 0 === t.total && t.data && 1 == t.data.length ? 1 : t.total, o = i.makeHtmlItem(n, c), s.length && (p.find(".j-cmt-empty").length ? p.html(o) : p.prepend(o), $(".j-cmt-empty").hide(), $(".j-cmt-txt").trigger("click"));
                    var h = $(".cmt-info-text .pop_jifen"), u = parseInt(t.addCredit);
                    u && h.text("赚得积分+" + u).show().animate({top: "10px", opacity: "0"}, 3e3, function () {
                        h.css({top: "50px", opacity: "1"}).hide()
                    })
                } else if (2 === c || 3 == c) {
                    var m = e.parent().parent();
                    m.append('<span class="pop_jifen"></span>');
                    var h = m.find(".pop_jifen"), u = parseInt(t.addCredit);
                    u && h.text("赚得积分+" + u).show().animate({bottom: "80px", opacity: "0"}, 3e3, function () {
                        h.css({bottom: "40px", opacity: "1"}).hide()
                    });
                    var v = e.siblings(".j-cmt-replyMore") || {};
                    if (o = 3 == c ? i.makePicHtmlItem(n, c) : i.makeHtmlItem(n, c), "y" == a.singlecmt) {
                        var f = e.siblings(".j-page-info");
                        f.length && f.before(o)
                    } else v && v.length > 0 ? v.before(o) : e.before(o);
                    var _ = e.parent().siblings(".j-cmt-tool").find(".j-tool-reply") || {};
                    if (_) {
                        var g = _.text() || "";
                        g = parseInt(g.replace(/\D/g, ""), 10) || 0, ++g, r + l ? _.text("回复") : _.text("回复(" + g + ")")
                    }
                    if (2 === c && t.total > 3) {
                        var y = v.siblings(".j-cmt-info").length || 0;
                        if (t.total > i.pageShowMoreCnt) {
                            var b = i.getCmtDetailUrl(n);
                            v.replaceWith(Tpl.simple(i.viewMoreReplysTpl, {commentUrl: b, replysMoreNum: t.total - y}))
                        } else v.length > 0 && y && v.find(".j-replyMore").text(t.total - y)
                    }
                }
            },
            resize: function () {
                var t = this.getCommentContainer();
                this.getResponseList() < 1 || t.find(".j-cmt-listPic:visible").length && this.reloadFirstPage()
            },
            textAreaHover: function (t) {
                var e = this, i = t || e.c_cmtTextarea, a = i.find(".j-cmt-userHead") || {}, s = !!Cookie.get("ssouid"), o = (s ? Spirit.UserValidate.getUserInfo().headicon_50 : "", a && a.length && a.find("img")), n = "", r = !1;
                a.hover && a.hover(function (t) {
                    var i = "";
                    n = o.attr && o.attr("src") || "", i = Cookie.get("ssouid") ? n == e.defaultAvatar || n == e.configs.uploadAvatarImgUrl ? e.configs.uploadAvatarImgUrl : e.configs.updateAvatarImgUrl : e.configs.loginAvatarImgUrl, e.setAvatarHrefAttr(a.find("a"), i), o.attr("src", i), r = !0
                }, function () {
                    r && (n = Cookie.get("ssouid") ? Spirit.UserValidate.getUserInfo().headicon_50 : e.defaultAvatar, o.attr("src", n), r = !1)
                })
            },
            initVariable: function () {
                this.c_cmtTextarea = this.getCommentContainer().find(".j-cmt-box .j-cmt-textarea"), this.c_cmtTextarea.length || (this.c_cmtTextarea = this.getCommentContainer().find(".j-cmt-box  .j-cmt-son .j-cmt-reply-textarea")), this.c_cmtTitle = this.c_cmtTextarea.next && this.c_cmtTextarea.next(".j-cmt-title")
            },
            buildAvatars: function () {
                var t = this.getCommentContainer().find(".j-cmt-textarea:visible,.j-cmt-reply-textarea:visible");
                if (t.length)for (var e = 0; e < t.length; e++)this.buildReply($(t[e]))
            },
            setAvatarHrefAttr: function (t, e) {
                var i = this;
                if (t && t.length && t.is("a") && e) {
                    var a = "登录";
                    e == i.configs.uploadAvatarImgUrl ? a = "上传头像" : e == i.configs.updateAvatarImgUrl && (a = "更换头像"), t.attr("title", a)
                }
            },
            initAvatarTitleHref: function (t) {
                var e, i, a = this, s = !!Cookie.get("ssouid"), o = t || this.c_cmtTextarea, n = {};
                o.length && (e = o.find(".j-cmt-userHead"), e.length && (i = e.find("a"), s ? (n.href = a.configUserAvatarUrl, n.title = "设置头像", i.attr("target", "_blank")) : (n.href = "javascript:void(0);", n.title = "登录", i.removeAttr("target")), i.attr(n)))
            },
            initUserAvatar: function (t) {
                var e = this;
                e.initAvatarTitleHref(t)
            },
            showUserInfo: function (t, e) {
                var i = this, a = e || i.c_cmtTextarea, s = a.find(".j-cmt-userInfo"), o = s.find(".j-cmt-userName"), n = (s.find(".j-cmt-btmBlue"), !!Cookie.get("ssouid")), r = n ? Spirit.UserValidate.getUserInfo() : "", l = a.find(".j-cmt-btmBlue");
                if (n) {
                    o.text(r.nickname || "");
                    var c = "发表评论";
                    a.length && a.hasClass("j-cmt-reply-textarea") && (c = "回复"), l.text(c), l.attr("title", c), $(".cmt-changeUser").show()
                } else l.text("发表评论"), l.attr("title", "登录"), $(".cmt-changeUser").hide()
            },
            buildReplyEdit: function (t) {
                var e = this, i = t || e.c_cmtTextarea;
                cmtCommentTa = i.find(".j-comment-ta"), cmtCommentTa.placeholder(), cmtCommentTa.on("focus", function () {
                    $(this).css("color", "#666"), ($.trim(this.value) == e.c_defaultComment || $.trim(this.value) == e.c_redFlagComment || $.trim(this.value) == e.c_blueFlagComment) && (this.value = "")
                }), cmtCommentTa.on("blur", function () {
                    $(this).css("color", ""), "" === $.trim(this.value) && ($(this).prev().is(".red_flag") ? this.value = e.c_redFlagComment : $(this).prev().is(".blue_flag") ? this.value = e.c_blueFlagComment : this.value = e.c_defaultComment)
                });
                var a = function () {
                    var t = this.value, e = t && t.length || 0, a = i.find(".j-txtNum"), s = 0;
                    e >= 0 && (a.hasClass("red") || a.addClass("red")), e > 140 && (this.value = t.substring(0, 140)), 0 === e && (!a.hasClass("red") || a.removeClass("red")), s = 1 >= e / 140 ? e : 140, a.text(s)
                };
                cmtCommentTa.on("keyup", a), cmtCommentTa.on("paste", function () {
                    var t = this;
                    window.setTimeout(function () {
                        var e = t.value, a = e && e.length || 0, s = i.find(".j-txtNum"), o = 0;
                        a >= 0 && (s.hasClass("red") || s.addClass("red")), a > 140 && (t.value = e.substring(0, 140)), 0 === a && (!s.hasClass("red") || s.removeClass("red")), o = 1 >= a / 140 ? a : 140, s.text(o)
                    }, 100)
                })
            },
            initReplyEdit: function (t) {
                var e = this;
                e.showUserInfo(!0, t), e.buildReplyEdit(t)
            },
            buildReply: function (t) {
                var e = this;
                t && ((t.siblings(".j-page-info").length || !t.siblings(".j-cmt-listTxt").length && !t.attr("data-cmtid")) && (e.textAreaHover(t), e.buildReplyEdit(t)), e.initUserAvatar(t), e.showUserInfo(!1, t))
            },
            cursorLocate: function (t, e, i) {
                if (t.createTextRange) {
                    var a = t.createTextRange();
                    a.collapse(!0), a.moveEnd("character", i), a.moveStart("character", e), a.select()
                } else t.setSelectionRange(e, i), t.focus()
            },
            setAutoCmt: function (t) {
                var e = this, i = e.opt, a = {};
                if (t && t.length) {
                    var s = t.parents(".j-cmt-reply-textarea");
                    s.length || (s = t.parents(".j-cmt-textarea"));
                    var o = s.parent().parent(".j-cmt-info");
                    if (isAddComment = s.hasClass("j-cmt-textarea"), isAddComment || o.length || (o = s.parent().siblings(".j-cmt-info"), o.length ? isAddComment = !1 : (o = s.siblings(".j-cmt-listTxt").find(".j-listTxt > .j-cmt-info"), o.length && (isAddComment = !1))), s.length && ($commentTa = s.find(".j-comment-ta")), s.length && $commentTa.length) {
                        var n = $.trim($commentTa.val()) || "", r = s.attr("data-rname") || "";
                        if (r)var l = "回复 " + r + "：";
                        l && (n = n.replace(l, "")), n && n != e.c_defaultComment && (a = {}, a.type = i.type || "video", a.pid = i.pid || "", a.xid = i.xid || "", a.content = n, a.commentid = o.attr("data-cmtid") || "", a.title = i.title, a.isAddComment = isAddComment, !isAddComment && s.attr && (a.pid = s.attr("data-pid") || o.attr("data-pid") || "", a.xid = s.attr("data-xid") || o.attr("data-xid") || "", a.replyId = s.attr("data-cmtid") || ""), a.commentid && !a.replyId && (a.replyId = a.commentid), e.autoCmt || (e.autoCmt = {}), e.autoCmt.data = a, e.autoCmt.$cmtTextArea = s)
                    }
                }
            },
            autoSubmit: function () {
                var t = this;
                if (t.buildAvatars(), t.autoCmt && t.autoCmt.data && t.autoCmt.$cmtTextArea) {
                    var e = t.autoCmt.$cmtTextArea.find(".j-comment-ta"), i = e.nextAll().find(".j-txtNum"), a = (i.parent().parent(".cmt-textarea"), e.parent().next().find(".j-cmt-btmBlue"));
                    i.text(0), a.trigger("click"), t.autoCmt.data, t.autoCmt = void 0
                } else t.reloadFirstPage()
            },
            reloadFirstPage: function () {
                var t = this, e = t.opt;
                t.refreshViariables();
                ({
                    api: t.configs.commentListUrl,
                    type: "video",
                    rows: t.pageCommentsCnt,
                    xid: t.c_info.vid,
                    pid: t.c_info.pid,
                    sort: "",
                    ifpic: "n"
                });
                "y" == e.singlecmt ? t.reloadData(function () {
                }) : (t.renderEndCb.push({func: t.buildAvatars, context: t}), t.reloadData(e))
            },
            reloadData: function (t, e) {
                var i = this;
                "function" == typeof t && (e = t, t = void 0), i.showLoadingBar(!0), "function" == typeof e ? e.call(this) : (i.initOpt(t), i.loadData(1, null, !0))
            },
            doReply: function (t) {
                var e = this, i = e.opt, a = $(t);
                if (a) {
                    var s = a.parent(), o = s.parent(), n = o.parent().parent(".j-cmt-info"), r = o.hasClass("j-cmt-textarea");
                    r && !$(".j-Comment").hasClass("j-cmt-textarea-scrollR") && this.scrollToNode(), r || n.length || (n = o.parent().siblings(".j-cmt-info"), n.length ? r = !1 : (n = o.siblings(".j-cmt-listTxt").find(".j-listTxt > .j-cmt-info"), n.length && (r = !1))), this._num += 1, $(".cmt-count").text(this._num + this.cmtNum + "条"), $(".j-pageAll").text(this._num + this.cmtNum + "条");
                    var l = s.siblings(".j-cmt-userWork").find(".j-comment-ta"), c = s.siblings(".j-cmt-userWork").find(".flag"), d = l.nextAll().find(".j-txtNum")
                }
                var p = $.trim(l.val()), h = o.attr("data-rname") || "";
                if (h)var u = "回复 " + h + "：";
                u && (p = p.replace(u, "")), p && p != e.c_defaultComment && p != e.c_redFlagComment && p != e.c_blueFlagComment ? (i.content = p, i.isAddComment = r, i.commentid = n.attr("data-cmtid"), !i.isAddComment && o.attr && (i.pid = i.pid || o.attr("data-pid") || n.attr("data-pid") || "", i.xid = i.xid || o.attr("data-xid") || n.attr("data-xid") || "", i.replyId = o.attr("data-cmtid") || ""), i.commentid && !i.replyId && (i.replyId = i.commentid), e.postData(function (t) {
                    var i = t.result;
                    "200" == i ? (c.remove(), l.val(e.c_defaultComment), d.text(0), e.addComment(t, o), a.parents(".cmt-textarea.j-cmt-reply-textarea").hide()) : "not_identified" == i ? dialog.bindPhone.show() : e.cmtTips(i, o, r)
                }), setTimeout(function () {
                    ceiling.clearComment(), ceiling.clearTextarea(), $(window).trigger("scroll")
                }, 100)) : l.focus()
            },
            postDataBusy: !1,
            postData: function (t, e) {
                var i = this;
                if (opt = e || i.opt, !i.postDataBusy) {
                    i.postDataBusy = !0;
                    var a = opt.isAddComment ? i.configs.addCommentUrl : i.configs.replyCommentUrl, s = {
                        type: opt.type,
                        xid: opt.xid || i.c_info.vid,
                        pid: opt.pid || i.c_info.pid,
                        cid: opt.cid || i.c_info.cid,
                        content: opt.content || "",
                        csrf: Cookie.get("csrf"),
                        random: Math.random(),
                        jscript: 1,
                        source: 1,
                        identify: 1
                    }, o = $(".flag_textarea .flag");
                    o.hasClass("red_flag") ? s.voteFlag = 1 : o.hasClass("blue_flag") && (s.voteFlag = 2), opt.commentid && (s.commentid = opt.commentid), opt.isAddComment ? s.title = opt.title || "" : s.replyid = opt.replyId, LETV.iframeHttpsSubmit({
                        url: a,
                        type: "POST",
                        data: s,
                        callback: function (e) {
                            t(e), i.postDataBusy = !1
                        }
                    })
                }
            }
        };
        if ("undefined" != typeof __INFO__ && 1 === __INFO__.commentShare) {
            var share_pop = $('<div class="share_pop"><i class="i-sj"></i><div class="bdsharebuttonbox bdshare-button-style0-32" data-tag="share_1" data-bd-bind="1393903734131"><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" title="分享到豆瓣网" href="#" class="bds_douban" data-cmd="douban"></a><a href="javascript:;" data-href="#" k-name="send-click-stat" data-click-stat="ch=kandian&pg=aggregation&bk=share&link=click" title="分享到百度贴吧" href="#" class="bds_tieba" data-cmd="tieba"></a></div></div>');
            with ($(document.body).append(share_pop), window._bd_share_config = {
                common: {
                    onBeforeClick: function (t, e) {
                        return e.bdText = sharetext, e.bdDesc = sharedesc, e.bdUrl = shareurl, e.bdPic = sharepic, e
                    }, bdText: "", bdDesc: "", bdUrl: "", bdPic: ""
                }, share: [{bdSize: 32}]
            }, document)0[(getElementsByTagName("head")[0] || body).appendChild(createElement("script")).src = "http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=" + ~(-new Date / 36e5)]
        }
        module.exports = CommentList
    }, LTK["air/form/jquery.placeholder"] = function (t, e, i) {
        !function (t, e, i) {
            function a(t) {
                var e = {}, a = /^jQuery\d+$/;
                return i.each(t.attributes, function (t, i) {
                    i.specified && !a.test(i.name) && (e[i.name] = i.value)
                }), e
            }

            function s(t, e) {
                var a = this, s = i(a);
                if (a.value == s.attr("placeholder") && s.hasClass("placeholder"))if (s.data("placeholder-password")) {
                    if (s = s.hide().next().show().attr("id", s.removeAttr("id").data("placeholder-id")), t === !0)return s[0].value = e;
                    s.focus()
                } else a.value = "", s.removeClass("placeholder"), a == n() && a.select()
            }

            function o() {
                var t, e = this, o = i(e), n = this.id;
                if ("" == e.value) {
                    if ("password" == e.type) {
                        if (!o.data("placeholder-textinput")) {
                            try {
                                t = o.clone().attr({type: "text"})
                            } catch (r) {
                                t = i("<input>").attr(i.extend(a(this), {type: "text"}))
                            }
                            t.removeAttr("name").data({
                                "placeholder-password": o,
                                "placeholder-id": n
                            }).bind("focus.placeholder", s), o.data({
                                "placeholder-textinput": t,
                                "placeholder-id": n
                            }).before(t)
                        }
                        o = o.removeAttr("id").hide().prev().attr("id", n).show()
                    }
                    o.addClass("placeholder"), o[0].value = o.attr("placeholder")
                } else o.removeClass("placeholder")
            }

            function n() {
                try {
                    return e.activeElement
                } catch (t) {
                }
            }

            var r, l, c = "[object OperaMini]" == Object.prototype.toString.call(t.operamini), d = "placeholder" in e.createElement("input") && !c, p = "placeholder" in e.createElement("textarea") && !c, h = i.fn, u = i.valHooks, m = i.propHooks;
            d && p ? (l = h.placeholder = function () {
                return this
            }, l.input = l.textarea = !0) : (l = h.placeholder = function () {
                var t = this;
                return t.filter((d ? "textarea" : ":input") + "[placeholder]").not(".placeholder").bind({
                    "focus.placeholder": s,
                    "blur.placeholder": o
                }).data("placeholder-enabled", !0).trigger("blur.placeholder"), t
            }, l.input = d, l.textarea = p, r = {
                get: function (t) {
                    var e = i(t), a = e.data("placeholder-password");
                    return a ? a[0].value : e.data("placeholder-enabled") && e.hasClass("placeholder") ? "" : t.value
                }, set: function (t, e) {
                    var a = i(t), r = a.data("placeholder-password");
                    return r ? r[0].value = e : a.data("placeholder-enabled") ? ("" == e ? (t.value = e, t != n() && o.call(t)) : a.hasClass("placeholder") ? s.call(t, !0, e) || (t.value = e) : t.value = e, a) : t.value = e
                }
            }, d || (u.input = r, m.value = r), p || (u.textarea = r, m.value = r), i(function () {
                i(e).delegate("form", "submit.placeholder", function () {
                    var t = i(".placeholder", this).each(s);
                    setTimeout(function () {
                        t.each(o)
                    }, 10)
                })
            }), i(t).bind("beforeunload.placeholder", function () {
                i(".placeholder").each(function () {
                    this.value = ""
                })
            }))
        }(window, document, jQuery)
    }, require("air/form/jquery.placeholder"), LTK["bz/comment/comment_v5"] = function (t) {
        var e = t("bz/www_play/events"), i = LETV.using("Utils"), a = window.location, s = (a.hostname === LETV.CONSTANT.host.PINGLUN_LETV_COM && a.pathname.indexOf("commontfeed") > -1 ? !0 : !1, t("bz/comment/CommentList_v3"));
        commentCamp = t("bz/comment/commentCamp");
        var o = t("bz/comment/vote"), n = t("bz/www_play/rate_v2"), r = (__INFO__.video, function (t) {
            return decodeURIComponent(i.getQuery(t)) || ""
        }), l = {
            initComment: function () {
                $(".j-cmt-kinds").find("li").removeClass("selected"), $(".j-cmt-kinds").find("li").eq(0).addClass("selected"), s.init({
                    api: "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcm/api/list?jsonp=?",
                    type: "video",
                    title: __INFO__.video.title || "",
                    xid: __INFO__.video.vid,
                    pid: __INFO__.pid,
                    rows: 20,
                    sort: "",
                    ifpic: "n"
                })
            }, initSingleComment: function () {
                var t, e, i, a = $(".page-closed a"), o = r("c1");
                if (!o)return !1;
                if (t = r("c4") || "", e = r("c5") || 0, i = parseInt(r("c6")) || 0, document.title = r("t") || "", a.click(function () {
                        window.close()
                    }), i) {
                    var n = "http://" + LETV.CONSTANT.host.PLAYER_HZ_LETV_COM + "/hzplayer.swf/v_list=0";
                    window.__INFO__ && window.__INFO__.player && window.__INFO__.player.version && window.__INFO__.player.version[3] && (n = window.__INFO__.player.version[3]), LELib.Revive.Player("fla_box", {
                        w: "100%",
                        h: 515,
                        wmode: vjs.safari ? "opaque" : "window"
                    }, "", "vid=" + t + "&callbackJs=callback&ark=100&isPlayerAd=0&start=" + e, n)
                } else $("#fla_box").empty();
                s.init({
                    api: s.configs.getCmtUrl,
                    title: s.c_video.title || "",
                    type: "video",
                    commentid: o,
                    rows: 20,
                    sort: "",
                    ifpic: "n",
                    singlecmt: "y",
                    xid: t,
                    pid: r("c2"),
                    cid: r("c3"),
                    source: 1
                })
            }
        };
        if (e.on(e.COMMENT_CEIL, function () {
                t("bz/comment/commentCeiling").init()
            }), e.on(e.PLAY_VIDEO, function () {
                commentCamp.getCamp(), $(".j-cmt-txt").trigger("click"), $(".j-listTxt").empty(), $(".cmt-listTxt .cmt-info").remove(), $(".j-page-info").hide(), l.initComment(), o.init(), n.initStarScore()
            }), $(".Comment").length) {
            var c = t("air/util/ScrollTrigger");
            c.add({
                point: ".Comment", offsetY: -200, handler: function () {
                    l.initComment(), o.init()
                }
            })
        }
    }, require("bz/comment/comment_v5"), $(function () {
        var t = '<div class="nav_follow j-ub-follow" style="display:none;"><span class="nav_follow_login j-ub-playtips"><a href="javascript:;"  data-rep="bk=fonav_play&link=tipsclick"  k-name="ub/login">登录</a>乐视网，享受五屏生活</span><a href="javascript:;" class="qq_login" title="QQ帐号登录" k-name="ub/navi/thrid" data-rep="bk=fonav_play&link=logined_QQ" data-coop="qq" data-source="http://' + LETV.CONSTANT.host.SSO_LETV_COM + '/oauth/qq" class="login_pic login_pic_qq">QQ登录</a><a href="javascript:;" class="twitter_login" title="新浪微博登录" data-coop="sina" data-source="http://' + LETV.CONSTANT.host.SSO_LETV_COM + '/oauth/sina" k-name="ub/navi/thrid" data-rep="bk=fonav_play&link=logined_WEIBO"  class="login_pic login_pic_sina">微博登录</a></div>';
        if ("www_play" == __INFO__.pageid)var e = $(".layout_play"); else var e = $(".Player");
        if (e.length) {
            var i = e.height() + 32, a = i + 10;
            $tray = $(".layout"), "www_play" == __INFO__.pageid ? $tray = $(".layout") : $tray = $(".Top");
            var s = $(window), o = "", n = $(".j_user_bar"), r = function () {
                if (o = n.find(".j-ub-follow"), o.length || (o = $(t).appendTo(n)), o.length) {
                    var e = o.siblings(".j-ub-tips");
                    if (Spirit.UserValidate.getUserInfo())!o.is(":visible") || o.hide(); else {
                        var i = s.scrollTop();
                        i > a ? (!o.is(":visible") && o.show(), e.is(":visible") && e.hide()) : (!o.is(":visible") || o.hide(), e.is(":visible") || e.show())
                    }
                }
            }, l = function (e) {
                var i, a;
                if (i = n.find(".j-ub-follow "), i.length || (i = $(t).appendTo(n)), i.length) {
                    if (a = i.siblings(".j-ub-tips"), Spirit.UserValidate.getUserInfo())return i.hide(), void a.hide();
                    if (e && window.__UCNAVI__) {
                        window.__UCNAVI__.title1, window.__UCNAVI__.link1;
                        a.hide(), i.show()
                    } else i.hide(), a.length && a.show()
                }
            }, c = !1;
            IE6 ? ($tray = $tray[0], s.on("scroll", function () {
                var t = s.scrollTop();
                "www_play" == __INFO__.pageid && (i = e.height() + 32, a = i + 10), t > a ? (c || ($tray.style.position = "absolute", l(!0), c = !0), $tray.style.top = t + "px") : i > t && c && ($tray.style.position = "", $tray.style.top = "0px", l(), c = !1)
            })) : s.on("scroll", function () {
                var t = s.scrollTop();
                "www_play" == __INFO__.pageid && (i = e.height() + 32, a = i + 10), t > a ? c || ($tray.addClass("top-scroll"), l(!0), c = !0) : i > t && c && ($tray.removeClass("top-scroll"), l(), c = !1)
            }), Spirit.Event.addEvent("logoutSuccess", function (t) {
                r()
            }), Spirit.Event.addEvent("loginSuccess", function (t) {
                r()
            })
        }
    }), LTK["bz/www_play/share"] = function (require, exports, module) {
        var $root, btShare, $btn, Share = {
            _init: function () {
                $root = $(".share_panel"), btShare = $(".j-share"), $btn = $(".interact_area").find(".j-share");
                var t = this;
                t._initText(), t._initBaidu(), LETV.UI.drawer([{
                    $showEl: $btn, $hiddenEl: $root, show: function () {
                        t._showShare(), t.scrollBox()
                    }, hide: function () {
                        $root.fadeOut(), btShare.removeClass("cur"), btShare.find("em").show()
                    }, delay: 200
                }]), Stats.sendAction({acode: "41", ap: "ch=www&pg=play_v1&bk=shareTab"})
            }, _initText: function () {
                var t = __INFO__.video || {};
                this.pic = t && t.share && t.share.pic || "", t && 1035 == t.cid ? this.shareText = "我在乐视视频观看了360°全景视频《" + (t && t.title || __INFO__.title || document.title) + "》，超立体的第一人称视角，可以360°拖拽画面，快来体验吧！" + document.location.href : this.shareText = "我在乐视网看了" + (t && t.title || __INFO__.title || document.title) + " - 在线观看 - 乐视网 ，推荐！" + document.location.href + " "
            }, _initBaidu: function () {
                var _this = this;
                if (window._bd_share_config = {
                        common: {
                            onBeforeClick: function (t, e) {
                                return e.bdText = _this.shareText, e.bdUrl = document.location.href, e.bdPic = _this.pic, e
                            }, bdText: "", bdDesc: "", bdUrl: "", bdPic: ""
                        }, share: [{bdSize: 32}]
                    }, 10010051 != __INFO__.pid || 10010273 != __INFO__.pid)with (document)0[(getElementsByTagName("head")[0] || body).appendChild(createElement("script")).src = "http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=" + ~(-new Date / 36e5)]
            }, _showShare: function () {
                btShare.siblings("li").removeClass("cur"), btShare.addClass("cur"), $root.siblings("div").removeClass("cur").fadeOut(), $root.fadeIn(), $root.addClass("cur"), 0 == $(".column_left").find(".j-share").length ? ($(".le_func .column_left .interact_area li").removeClass("cur"), $(".le_func .column_left .interact_panel .interact_func_panels").removeClass("cur").fadeOut()) : ($(".le_func .column_right .interact_area li").removeClass("cur"), $(".le_func .column_right .interact_panel .interact_func_panels").removeClass("cur").fadeOut())
            }, _hideAll: function () {
                $(".le_func .interact_area li").removeClass("cur"), $(".le_func .interact_panel .interact_func_panels").removeClass("cur").slideUp()
            }, scrollBox: function () {
                var t = 0, e = $(window).height(), i = $(".interact_panel").height(), a = $(document).scrollTop(), s = $root.offset().top, o = i + s - e;
                o > a && (t = o, $(document.documentElement).animate({scrollTop: t}, "normal"), $(document.body).animate({scrollTop: t}, "normal"))
            }
        }, events = require("bz/www_play/events");
        events.on(events.PLAY_VIDEO, function (t) {
            Share._hideAll(), Share._initText()
        }), Share._init(), module.exports = Share
    }, require("bz/www_play/share"), LTK["bz/www_play/praiseOrTread"] = function (t, e, i) {
        var a, s, o, n = {
            _stat: {
                exposeStat: "ch=www&pg=play_v1&bk=zanBox",
                praiseClick: "ch=www&pg=play_v1&bk=zanBox&link=zan",
                treadClick: "ch=www&pg=play_v1&bk=zanBox&link=cai"
            }, _init: function () {
                var e = t("bz/www_play/rate_v2"), i = this;
                if (a = $(".j-tread"), s = $(".j-share"), o = $(".j-praise"), i.upNum = e.dataNum.up, i.downNum = e.dataNum.down, Cookie.get("praiseTread")) {
                    i.cookieUsed = !1;
                    var n = [], r = Cookie.get("praiseTread");
                    -1 != r.indexOf(",") ? n = r.split(",") : n[0] = r;
                    for (var l = 0; l < n.length; l++)n[l].substring(0, n[l].length - 1) == __INFO__.vid && (i.cookieUsed = !0, i.pOrT = n[l].substring(n[l].length - 1, n[l].length));
                    i.cookieUsed ? (i.key = !1, o.removeClass("def").removeClass("caidef"), a.removeClass("def").removeClass("caidef"), 1 == i.pOrT ? o.addClass("def") : o.addClass("caidef"), o.find(".ico_arrow_tarr").remove()) : (i.key = !0, o.removeClass("def").removeClass("caidef"), a.removeClass("def").removeClass("caidef"), o.find(".ico_arrow_tarr").length > 0 ? "" : o.find("a").append($('<i class="ico_arrow_tarr"></i>')))
                } else i.key = !0, o.removeClass("def").removeClass("caidef"), o.find(".ico_arrow_tarr").length > 0 ? "" : o.find("a").append($('<i class="ico_arrow_tarr"></i>'));
                i.keyNum = 0, i.cookieUsed ? 1 == i.pOrT ? o.find("b").html(i.initNum(i.upNum)) : o.find("b").html(i.initNum(i.downNum)) : (o.find("b").html(i.initNum(i.upNum)), a.find("b").html(i.initNum(i.downNum))), LETV.UI.drawer([{
                    $showEl: o,
                    $hiddenEl: a,
                    show: function () {
                        i.key && (i.className = " ", i.showNum = i.upNum, o.removeClass("red").addClass("cur"), a.removeClass("green"), $(".tread").show(), $(".download_panel").hide(), $(".j-down").removeClass("cur"), i.scrollBox(), Stats.sendAction({
                            acode: "41",
                            ap: i._stat.exposeStat
                        }))
                    },
                    hide: function () {
                        i.key && (o.removeClass("cur").removeClass("red").addClass(i.className).find("b").html(i.initNum(i.showNum)), a.removeClass("green").find("b").html(i.initNum(i.downNum)), $(".tread").fadeOut(), 0 != i.keyNum && (i.key = !1, o.find(".ico_arrow_tarr").remove()))
                    },
                    delay: 200
                }]), i.video || this.initEvent()
            }, initEvent: function () {
                var t = this;
                $(".j-praise").on("click", function () {
                    t.key && ($.ajax({
                        type: "GET",
                        url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/apis/updown.php?vid=" + __INFO__.vid + "&act=1",
                        dataType: "jsonp",
                        jsonp: "callback",
                        success: function (e) {
                            if (200 == e.code)if (t.upNum += 1,
                                    t.keyNum += 1, t.showNum = t.upNum, o.addClass("red").addClass("def"), o.find("b").html("＋1"), t.className = "def", Cookie.get("praiseTread")) {
                                if (-1 != Cookie.get("praiseTread").indexOf(",")) {
                                    var i = Cookie.get("praiseTread").split(",");
                                    i.length > 9 ? Cookie.set("praiseTread", i.splice(1, i.length).join(","), {exp: 12}) : ""
                                }
                                Cookie.set("praiseTread", Cookie.get("praiseTread") + "," + __INFO__.vid + "1", {exp: 12})
                            } else Cookie.set("praiseTread", __INFO__.vid + "1", {exp: 12})
                        }
                    }), Stats.sendAction({acode: "0", ap: t._stat.praiseClick}))
                }).on("mouseenter", function () {
                    t.key && ($(this).find("b").html("赞"), a.find("b").html(t.initNum(t.downNum)))
                }).on("mouseleave", function () {
                    t.key && $(this).find("b").html(t.initNum(t.upNum))
                }), $(".j-tread").on("click", function () {
                    t.key && ($.ajax({
                        type: "GET",
                        url: "http://" + LETV.CONSTANT.host.V_STAT_LETV_COM + "/vplay/apis/updown.php?vid=" + __INFO__.vid + "&act=2",
                        dataType: "jsonp",
                        jsonp: "callback",
                        success: function (e) {
                            if (200 == e.code)if (t.downNum += 1, t.keyNum += 1, a.addClass("green").addClass("def"), a.find("b").html("－1"), t.showNum = t.downNum, t.className = "caidef", Cookie.get("praiseTread")) {
                                if (-1 != Cookie.get("praiseTread").indexOf(",")) {
                                    var i = Cookie.get("praiseTread").split(",");
                                    i.length > 9 ? Cookie.set("praiseTread", i.splice(1, i.length).join(","), {exp: 12}) : ""
                                }
                                Cookie.set("praiseTread", Cookie.get("praiseTread") + "," + __INFO__.vid + "2", {exp: 12})
                            } else Cookie.set("praiseTread", __INFO__.vid + "2", {exp: 12})
                        }
                    }), Stats.sendAction({acode: "0", ap: t._stat.treadClick}))
                }).on("mouseenter", function () {
                    t.key && ($(this).find("b").html("踩"), o.find("b").html(t.initNum(t.upNum)))
                }).on("mouseleave", function () {
                    t.key && $(this).find("b").html(t.initNum(t.downNum))
                })
            }, initNum: function (t) {
                var e = "";
                if (9999 >= t)e = t; else if (t > 9999 && 99999499 >= t) {
                    var i = t / 1e4;
                    e = Math.round(10 * i) / 10 + "万"
                } else if (t > 99999499) {
                    var a = t / 1e8;
                    e = Math.round(10 * a) / 10 + "亿"
                }
                return e
            }, scrollBox: function () {
                var t = 0, e = $(window).height(), i = $(".j-tread").height() + 10, s = $(document).scrollTop(), o = a.offset().top, n = i + o - e;
                n > s && (t = n, $(document.documentElement).animate({scrollTop: t}, "normal"), $(document.body).animate({scrollTop: t}, "normal"))
            }
        }, r = t("bz/www_play/events");
        r.on(r.PLAY_VIDEO, function (t) {
            n.video = !0, n._init()
        }), r.on("rateSucc", function () {
            n._init()
        }), i.exports = n
    }, require("bz/www_play/praiseOrTread"), LTK["air/ui/popLayer"] = function (t, e, i) {
        var a = 1, s = function (t) {
            var e = "click.popLayer_" + a++, i = t.hide || function () {
                    this.$layer.hide()
                }, s = !0, o = !0, n = function () {
                s && (i.call(t), $(document.body).off(e), o = !0), s = !0
            };
            t.$target.on("click", function () {
                s = !1, t.$layer.is(":hidden") ? (t.show ? t.show.call(t) : t.$layer.show(), o && ($(document.body).on(e, n), o = !1)) : t.toggleMode && (i.call(t), $(document.body).off(e), o = !0)
            }), t.$layer.on("click", function () {
                s = !1
            })
        };
        i.exports = s
    }, LTK["bz/www_play/download"] = function (t, e, i) {
        var a = (LETV.using("App"), Spirit.Event, window.__INFO__ || {}), s = a.video || {}, o = {}, n = (Spirit.UserValidate, Spirit.userLogin, $(".j-down")), r = $(".download_panel"), l = $("#down_to_pc"), c = null, d = null, p = {
            setup: !1,
            _init: function () {
                var e = this, i = t("air/ui/popLayer");
                i({
                    toggleMode: !0, $target: $(".j-down"), $layer: r, show: function () {
                        this.$target.siblings("li").removeClass("cur"), this.$target.addClass("cur"), this.$layer.show(), e.create(), e._initPad(), e.showBox(), e.scrollBox(), e.create(), e.qrCode(), e.infoBox()
                    }, hide: function () {
                        this.$target.removeClass("cur"), this.$layer.hide()
                    }
                })
            },
            _initPad: function () {
                var t = this;
                return $.browser.iPad ? ($(".j-web").click(function () {
                    t.ipadInit()
                }), void n.attr({
                    "k-name": "send-click-stat",
                    "data-click-stat": "ch=all&pg=play&bk=download&link=Ipaddaoliu"
                })) : void 0
            },
            create: function () {
                document.getElementById("ae46a0ed-1cfe-5afc-96a2-6f910e260df4") || $('<div><object id="ae46a0ed-1cfe-5afc-96a2-6f910e260df4" type="application/x-base" width="0" height="0"><param name="onwebcallback" value="window_pc_donw_dll" /></object></div>').appendTo($("body"))
            },
            load: function () {
                var t = this;
                this.setup = !0;
                var e = l.find(".j-web");
                s.download && 0 == s.trylook ? (e.html('<a href="javascript:;" data-click-stat="ch=www&pg=play_v1&bk=downBox&link=downIng" k-name="send-click-stat">立即下载</a>'), e.on("click", function () {
                    t.downSoft()
                })) : (s.download || l.find(".d_tit").html("<b>下载到电脑</b><span>本片暂不支持下载</span>"), e.html('<a href="http://' + LETV.CONSTANT.host.CLINET_PC_LETV_COM + '/pc/download">下载PC客户端</a>'))
            },
            downSoft: function () {
                var t = "<info><channel>" + s.cid + "</channel><vtype>" + (s.pid > 0 ? 1 : 2) + "</vtype><vip>0</vip><pid>" + s.pid + "</pid>  <needpay>0</needpay><label><![CDATA[" + s.title + "]]></label><action>2</action><url><![CDATA[http://" + LETV.CONSTANT.host.CLINET_PC_LETV_COM + "/play/" + s.pid + "?t=p&isDownload=1]]></url><param><![CDATA[?isDownload=1&pid=" + s.pid + "&vid=" + s.vid + "]]></param></info>";
                try {
                    document.getElementById("ae46a0ed-1cfe-5afc-96a2-6f910e260df4").DownLoad(t)
                } catch (e) {
                }
            },
            ipadInit: function () {
                var e = '<dl><dd class="dlimg"><img src="http://i0.letvimg.com/img/201503/19/hd.jpg" width="160" height="160"></dd><dt>下载此视频需使用乐视APP</dt><dd class="ddtxt">正在前往... <b>3</b>秒</dd></dl>';
                c ? c.setContent(e) : (c = new LETV.UI.Box({
                    boxClass: "ui_window down_app",
                    content: e,
                    width: 660,
                    height: 415,
                    mask: .2,
                    onHide: function () {
                        clearInterval(d)
                    }
                }), c.init()), c.show(), $(".j-close").removeClass("ui_pop_head_btn_close").addClass("pop_head_btn_close"), d = setInterval(function () {
                    var e = $(".down_app b"), i = parseInt(e.html()) - 1;
                    0 == i ? (clearInterval(d), c.hide(), t("bz/www_play/app").init()) : e.html(i)
                }, 1e3)
            },
            showBox: function () {
                0 == $(".column_left").find(".j-down").length ? ($(".le_func .column_left .interact_area li").removeClass("cur"), $(".le_func .column_left .interact_panel .interact_func_panels").removeClass("cur").fadeOut()) : ($(".le_func .column_right .interact_area li").removeClass("cur"), $(".le_func .column_right .interact_panel .interact_func_panels").removeClass("cur").fadeOut());
                var t = r.find(".verifiCode"), e = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime();
                t.attr("src", e), r.find(".panel_close").click(function () {
                    r.removeClass("cur").fadeOut(), n.removeClass("cur")
                })
            },
            qrCode: function () {
                o.vid = __INFO__.video.vid || null, o.pid = __INFO__.video.pid || null, o.qrcode = "letv", o.ref = "mf_letv_qxk", o.htime = 0;
                var t = "http://" + LETV.CONSTANT.host.M_LETV_COM + "/qxk.html?htime=" + o.htime + "&vid=" + o.vid + "&pid=" + o.pid + "&ref=" + o.ref + "&qrcode=" + o.qrcode, e = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=180&txt=" + encodeURIComponent(t);
                $(".j_erweima img").attr("src", e)
            },
            infoBox: function () {
                var t = r.find(".verifiCode"), e = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime();
                t.attr("src", e), r.find(".updateVerifiCode").on("click", function () {
                    t.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                });
                var i = r.find(".j-phoneInfo"), a = r.find(".mf_mobile"), s = r.find(".mf_captchaValue"), n = {
                    0: "短信发送成功！",
                    1: "验证码错误！",
                    2: "验证码错误！",
                    3: "验证码错误！",
                    4: "手机号非法！",
                    5: "手机号非法！",
                    6: "短信发送失败！",
                    7: "短信发送失败！",
                    8: "短信发送失败！",
                    9: "短信发送已经达到上限！",
                    10: "短信发送已经达到上限！"
                };
                r.find(".j-sendmessage").on("click", function () {
                    i.removeClass("red"), i.removeClass("blue");
                    var e;
                    return "" == a.val() ? (e = s.val() ? "请填写手机号！" : "请填写手机号和验证码！", void i.addClass("red").text(e)) : "" == s.val() ? (e = "请填写验证码！", void i.addClass("red").text(e)) : void $.ajax({
                        type: "post",
                        url: "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/checkcaptcha?callback=?",
                        data: {mobile: a.val(), captchaValue: s.val(), vid: o.vid, pid: o.pid, source: "download"},
                        dataType: "jsonp",
                        success: function (e) {
                            i.text(n[e.code]), 0 == e.code ? i.addClass("blue") : i.addClass("red"), t.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                        }
                    })
                })
            },
            scrollBox: function () {
                var t = 0, e = $(window).height(), i = $(".interact_panel").height(), a = $(document).scrollTop(), s = r.offset().top, o = i + s - a, n = i + s - e;
                o >= e && (t = n, $(document.documentElement).animate({scrollTop: t}, "normal"), $(document.body).animate({scrollTop: t}, "normal"))
            }
        };
        window.window_pc_donw_dll = function () {
            p.load()
        }, p._init(), i.exports = p
    }, require("bz/www_play/download"), LTK["bz/www_play/phone"] = function (t, e, i) {
        var a = (LETV.using("App"), LETV.using("App.Play"), window.__INFO__ || {}), s = (a.video || {}, {}), o = $(".j-phone"), n = $(".phone_panel"), r = $(".j-barrage"), l = t("bz/www_play/events"), c = {
            init: function () {
                var e = this, i = t("air/ui/popLayer");
                i({
                    toggleMode: !0, $target: $(".j-phone"), $layer: n, show: function () {
                        this.$target.siblings("li").removeClass("cur"), this.$target.addClass("cur"), this.$layer.show(), e.showBox(), e.scrollBox(), e.erweimaBox(), e.infoBox()
                    }, hide: function () {
                        this.$target.removeClass("cur"), this.$layer.hide()
                    }
                })
            }, showBox: function () {
                if (!r.length) {
                    var t = $(".phone_panel"), e = t.css("right");
                    if ("110px" === e)return !1;
                    t.css("right", "110px")
                }
                $(".more_panel").hide(), $(".le_func .column_left .interact_area li").removeClass("cur"), $(".le_func  .column_left .interact_panel .interact_func_panels").removeClass("cur").fadeOut(), n.find(".panel_close").click(function () {
                    n.removeClass("cur").slideUp(), o.removeClass("cur")
                })
            }, erweimaBox: function () {
                s.vid = __INFO__.video.vid || null, s.pid = __INFO__.video.pid || null, s.qrcode = "letv", s.ref = "mf_letv_qxk";
                try {
                    s.htime = parseInt(l.emit(l.GET_VIDEO_TIME) || 0, 10)
                } catch (t) {
                    s.htime = 0
                }
                var e = "http://" + LETV.CONSTANT.host.M_LETV_COM + "/qxk.html?htime=" + s.htime + "&vid=" + s.vid + "&pid=" + s.pid + "&ref=" + s.ref + "&qrcode=" + s.qrcode, i = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/getqr?w=180&txt=" + encodeURIComponent(e);
                $(".j_erweima img").attr("src", i)
            }, infoBox: function () {
                var t = n.find(".verifiCode"), e = "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime();
                $(".verifiCode").attr("src", e), n.find(".updateVerifiCode").unbind("click").on("click", function () {
                    t.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                });
                var i = n.find(".j-phoneInfo"), a = n.find(".mf_mobile"), o = n.find(".mf_captchaValue"), r = {
                    0: "短信发送成功！",
                    1: "验证码错误！",
                    2: "验证码错误！",
                    3: "验证码错误！",
                    4: "手机号非法！",
                    5: "手机号非法！",
                    6: "短信发送失败！",
                    7: "短信发送失败！",
                    8: "短信发送失败！",
                    9: "短信发送已经达到上限！",
                    10: "短信发送已经达到上限！"
                };
                n.find(".mf_sendMessage").die().live("click", function () {
                    i.removeClass("red"), i.removeClass("blue");
                    var e;
                    return "" == a.val() ? (e = o.val() ? "请填写手机号！" : "请填写手机号和验证码！", void i.addClass("red").text(e)) : "" == o.val() ? (e = "请填写验证码！", void i.addClass("red").text(e)) : void $.ajax({
                        type: "post",
                        url: "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/checkcaptcha?callback=?",
                        data: {
                            mobile: a.val(),
                            captchaValue: o.val(),
                            vid: s.vid,
                            pid: s.pid,
                            source: "phonewatch",
                            captchaId: LETV.cookie("captchaId")
                        },
                        dataType: "jsonp",
                        success: function (e) {
                            i.text(r[e.code]), 0 == e.code ? i.addClass("blue") : i.addClass("red"), t.attr("src", "http://" + LETV.CONSTANT.host.API_APP_LETV_COM + "/captcha/generate?t=" + (new Date).getTime())
                        }
                    })
                })
            }, scrollBox: function () {
                var t = 0, e = $(window).height(), i = $(".le_func .column_right .interact_panel").height(), a = $(document).scrollTop(), s = n.offset().top, o = i + s - e;
                o > a && (t = o, $(document.documentElement).animate({scrollTop: t}, "normal"), $(document.body).animate({scrollTop: t}, "normal"))
            }
        };
        c.init();
        var d = null;
        o.on({
            mouseover: function () {
                d = setTimeout(function () {
                    "block" != $(".phone_panel").css("display") && ($(".more_panel").show(), Stats.sendAction({
                        acode: "41",
                        ap: "ch=www&pg=play_v1&bk=TVBox&link=tv"
                    }))
                }, 200)
            }, mouseout: function () {
                clearTimeout(d), $(".more_panel").hide()
            }
        }), $(".more_panel").on({
            mouseover: function () {
                $(this).show()
            }, mouseout: function () {
                $(this).hide()
            }
        }), i.exports = c
    }, require("bz/www_play/phone"), LTK["bz/www_play/favorite"] = function (t, e, i) {
        "use strict";
        var a = {
            init: function () {
                this._initDom(), this._initEvent(), this._initFavorite(), this.isFavorite()
            }, _initDom: function () {
                this.INFO = LETV.using.call(window, "__INFO__"), this.VideoInfo = this.INFO.video || [], this.Utils = LETV.using("Utils"), this.Logon = Spirit.UserValidate, this.userLogin = Spirit.userLogin, this.event = window.Spirit.Event, this.$interactArea = $(".interact_area"), this.$shareArea = this.$interactArea.find(".i01"), this.$downloadArea = this.$interactArea.find(".i02"), this.$favoriteArea = this.$interactArea.find(".i03"), this.$favoriteText = this.$favoriteArea.find("a b"), this.$interactPanel = $(".interact_panel"), this.$collectPanel = this.$interactPanel.find(".collect_panel"), this.$sharePanel = this.$interactPanel.find(".share_panel"), this.$downloadPanel = this.$interactPanel.find(".download_panel"), this.$collectedText = this.$collectPanel.find(".collect_pop p"), this.$gotoCollectBtn = this.$collectPanel.find(".btn_go"), this.hasCollected = !1
            }, _initEvent: function () {
                var e = this;
                this.favoriteEvent = t("bz/www_play/events"), this.favoriteEvent.on(this.favoriteEvent.PLAY_VIDEO, this.responsePlayVideo), this.event.addEvent("logoutSuccess", function (t) {
                    e.deactiveFavBtn()
                }), this.event.addEvent("loginSuccess", function (t) {
                    e.isFavorite()
                });
                var i = t("air/ui/popLayer");
                i({
                    $target: e.$favoriteArea, $layer: e.$collectPanel, show: function () {
                    }, hide: e.hideInteractPanel
                })
            }, isFavorite: function () {
                var t = a;
                if (t.Logon.getUserInfo()) {
                    var e = !1, i = __INFO__.video || {}, s = i.vid, o = i.pid, n = i.cid, r = "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/favorite/isfavorite?callback=?&video_id=" + s + "&play_id=" + o + "&cid=" + n;
                    $.getJSON(r, function (i) {
                        i && (200 === i.code && (e = !0), e ? t.activeFavBtn() : t.deactiveFavBtn())
                    })
                }
            }, responsePlayVideo: function (t) {
                var e = a;
                e.isFavorite()
            }, _initFavorite: function () {
                var t = this;
                this.$favoriteArea.attr("title", "追剧/回顾更方便"), this.$favoriteArea.on("click", "a", function () {
                    if (t.Logon.getUserInfo())t.collectFav(); else {
                        t.userLogin.openLetvLogin("collect");
                        var e = t.event.addEvent("loginSuccess", function (i) {
                            t.collectFav(), t.event.removeEvent("loginSuccess", e)
                        })
                    }
                })
            }, collectFav: function () {
                var t = a;
                if (t.hasCollected)t.hideInteractPanel(), window.open("http://" + LETV.CONSTANT.host.MY_LETV_COM + "/favorite?action=all"); else {
                    var e = __INFO__.video || {}, i = e.vid, s = e.pid, o = e.cid, n = "http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/favorite/add?callback=?&video_id=" + i + "&play_id=" + s + "&cid=" + o + "&from_type=1";
                    $(".interact_area .pop_jifen");
                    $.getJSON(n, function (e) {
                        200 === e.code && ("none" === t.$collectPanel.css("display") && t.showInteractPanel(e), t.activeFavBtn())
                    })
                }
            }, showInteractPanel: function (t) {
                var e = t.data.addCredit;
                e ? this.$collectedText.text("收藏成功！恭喜获得" + e + "积分") : this.$collectedText.text("收藏成功！同时能自动追剧。");
                var i = a;
                i.scrollBox(), i.$favoriteArea.addClass("cur"), i.$shareArea.removeClass("cur"), i.$sharePanel.removeClass("cur").hide(), i.$downloadArea.removeClass("cur"), i.$downloadPanel.removeClass("cur").hide(), i.$collectPanel.fadeIn();
                var s = $('<i class="ico_star"></i>');
                i.$favoriteArea.after(s);
                var o = i.$gotoCollectBtn[0], n = i.funParabola(s[0], o, {
                    speed: 15,
                    curvature: .0035,
                    complete: function () {
                        s.remove()
                    }
                });
                n.init();
                var r = null;
                r = setTimeout(function () {
                    i.hideInteractPanel()
                }, 3e3), i.$collectPanel.on("mouseover.favorite", function () {
                    clearTimeout(r)
                }), i.$collectPanel.on("mouseout.favorite", function () {
                    r = setTimeout(function () {
                        i.hideInteractPanel()
                    }, 3e3)
                })
            }, hideInteractPanel: function () {
                var t = a;
                t.$collectPanel.fadeOut(function () {
                    t.$collectPanel.off("mouseover.favorite"), t.$collectPanel.off("mouseout.favorite"), t.$favoriteArea.removeClass("cur")
                })
            }, activeFavBtn: function () {
                this.$favoriteArea.addClass("active"), this.$favoriteText.text("已收藏"), this.hasCollected = !0
            }, deactiveFavBtn: function () {
                this.$favoriteArea.hasClass("active") && this.$favoriteArea.removeClass("active"), this.$favoriteText.text("收藏"), this.hasCollected = !1
            }, scrollBox: function () {
                var t = $(window).height(), e = this.$favoriteArea.offset().top, i = this.$favoriteArea.height(), a = this.$collectPanel.height(), s = e + a + i, o = s - t + 50, n = $(document).scrollTop();
                s - n >= t && ($(document.documentElement).animate({scrollTop: o}, "normal"), $(document.body).animate({scrollTop: o}, "normal"))
            }, funParabola: function (t, e, i) {
                for (var a = 0, s = ["webkit", "moz"], o = 0; o < s.length && !window.requestAnimationFrame; ++o)window.requestAnimationFrame = window[s[o] + "RequestAnimationFrame"], window.cancelAnimationFrame = window[s[o] + "CancelAnimationFrame"] || window[s[o] + "CancelRequestAnimationFrame"];
                window.requestAnimationFrame || (window.requestAnimationFrame = function (t, e) {
                    var i = (new Date).getTime(), s = Math.max(0, 16.7 - (i - a)), o = window.setTimeout(function () {
                        t(i + s)
                    }, s);
                    return a = i + s, o
                }), window.cancelAnimationFrame || (window.cancelAnimationFrame = function (t) {
                    clearTimeout(t)
                });
                var n = {
                    speed: 166.67, curvature: .001, progress: function () {
                    }, complete: function () {
                    }
                }, r = {};
                i = i || {};
                for (var l in n)r[l] = i[l] || n[l];
                var c = {
                    mark: function () {
                        return this
                    }, position: function () {
                        return this
                    }, move: function () {
                        return this
                    }, init: function () {
                        return this
                    }
                }, d = "margin", p = document.createElement("div");
                "oninput" in p && ["", "ms", "webkit"].forEach(function (t) {
                    var e = t + (t ? "T" : "t") + "ransform";
                    e in p.style && (d = e)
                });
                var h = r.curvature, u = 0, m = !0;
                if (t && e && 1 == t.nodeType && 1 == e.nodeType) {
                    var v = {}, f = {}, _ = {}, g = {}, y = {}, b = {};
                    c.mark = function () {
                        return 0 == m ? this : ("undefined" == typeof y.x && this.position(), t.setAttribute("data-center", [y.x, y.y].join()), e.setAttribute("data-center", [b.x, b.y].join()), this)
                    }, c.position = function () {
                        if (0 == m)return this;
                        var i = document.documentElement.scrollLeft || document.body.scrollLeft, a = document.documentElement.scrollTop || document.body.scrollTop;
                        return "margin" == d ? t.style.marginLeft = t.style.marginTop = "0px" : t.style[d] = "translate(0, 0)", v = t.getBoundingClientRect(), f = e.getBoundingClientRect(), _ = {
                            x: v.left + (v.right - v.left) / 2 + i,
                            y: v.top + (v.bottom - v.top) / 2 + a
                        }, g = {x: f.left + (f.right - f.left) / 2 + i, y: f.top + (f.bottom - f.top) / 2 + a}, y = {
                            x: 0,
                            y: 0
                        }, b = {x: -1 * (_.x - g.x), y: -1 * (_.y - g.y)}, u = (b.y - h * b.x * b.x) / b.x, this
                    }, c.move = function () {
                        if (0 == m)return this;
                        var e = 0, i = b.x > 0 ? 1 : -1, a = function () {
                            var s = 2 * h * e + u;
                            e += i * Math.sqrt(r.speed / (s * s + 1)), (1 == i && e > b.x || -1 == i && e < b.x) && (e = b.x);
                            var o = e, n = h * o * o + u * o;
                            t.setAttribute("data-center", [Math.round(o), Math.round(n)].join()), "margin" == d ? (t.style.marginLeft = o + "px", t.style.marginTop = n + "px") : t.style[d] = "translate(" + [o + "px", n + "px"].join() + ")", e !== b.x ? (r.progress(o, n), window.requestAnimationFrame(a)) : (r.complete(), m = !0)
                        };
                        return window.requestAnimationFrame(a), m = !1, this
                    }, c.init = function () {
                        this.position().mark().move()
                    }
                }
                return c
            }
        };
        a.init(), i.exports = a
    }, require("bz/www_play/favorite"), LTK["bz/www_play/draggablePlayer"] = function (t, e, i) {
        "use strict";
        var a = 38, s = 38, o = {
            init: function () {
                this.initDom(), this.initEvent(), this.initPage()
            }, initDom: function () {
                this.$triggerDom = $(".layout_play").find(".le_func"), this.$playerContainer = $("#fla_box_con"), this.$flashBoxParent = $("#fla_box_p"), this.dragLayer = document.getElementById("fla_box_p"), this.$flashBox = $("#fla_box"), this.isShowing = !1, this.containerSize = {
                    outerWidth: 420,
                    outerHeight: 245,
                    innerWidth: 400,
                    innerHeight: 225
                }, this.miniVideoCanShow = !1, this.miniVideoBeClosed = !1, this.lastWidth = $(window).width(), this.lastHeight = $(window).height(), this.statCode = {
                    exposeAp: "ch=www&pg=play_v1&bk=miniPlayer",
                    closeAp: "ch=www&pg=play_v1&bk=miniPlayer&link=closeBtn",
                    dragAp: "ch=www&pg=play_v1&bk=miniPlayer&link=mouseMove"
                }, this.defaultLeft = 0, this.beLocked = !1
            }, initEvent: function () {
                this.playListEvent = t("bz/www_play/events"), $(window).on("scroll.dragPlayer", $.proxy(this.doRenderPlayer, this)), $(window).on("resize.dragPlayer", $.proxy(this.winResizeListener, this)), this.playListEvent.on(this.playListEvent.PLAY_VIDEO, $.proxy(this.responsePlayVideo, this)), this.playListEvent.on(this.playListEvent.PLAYER_VIDEO_PLAY, $.proxy(this.playerVideoPlay, this)), this.playListEvent.on(this.playListEvent.SHOW_RECOMMEND, $.proxy(this.showRecommend, this)), this.$flashBoxParent.on("click", ".ico_close", $.proxy(this.btnCloseMiniPlayer, this)), this.$flashBoxParent.on("mouseover", $.proxy(this.mousePlayerOver, this)), this.$flashBoxParent.on("mouseout", $.proxy(this.mousePlayerOut, this)), this.initDrag(this.dragLayer)
            }, initPage: function () {
                this.$flashBox.after('<a class="player_bg" href="javascript:;"><img src="http://i0.letvimg.com/lc02_img/201505/28/15/45/ico_bg.png"/></a><a class="ico_close" href="javascript:;"></a>'), this.$coverLayer = this.$flashBoxParent.find(".player_bg"), this.$closeBtn = this.$flashBoxParent.find(".ico_close")
            }, doRenderPlayer: function () {
                this.beLocked || this.miniVideoCanShow && (this._getDomTop(this.$triggerDom) < -38 && !this.isShowing && !this.miniVideoBeClosed && (this._showMiniPlayer(), this.positionPlayer()), this._getDomTop(this.$triggerDom) >= -38 && (this.miniVideoBeClosed = !1, this._hideMiniPlayer()))
            }, winResizeListener: function () {
                var t = this, e = setTimeout(function () {
                    var i = $(window).width(), a = $(window).height();
                    (t.lastWidth !== i || t.lastHeight !== a) && (clearTimeout(e), t.lastWidth = i, t.lastHeight = a, t.isShowing && t.doResize(!0))
                }, 100)
            }, doResize: function (t) {
                this.positionPlayer(t), Cookie.set("currentLeft_miniPlayer", null), Cookie.set("currentTop_miniPlayer", null)
            }, playerVideoPlay: function () {
                this.miniVideoCanShow = !0, this.doRenderPlayer()
            }, showRecommend: function () {
                this.beLocked = !0, this.closeMiniPlayer()
            }, mousePlayerOver: function (t) {
                this.isShowing && this.showLayers()
            }, mousePlayerOut: function (t) {
                this.hideLayers()
            }, showLayers: function () {
                this.$coverLayer.css("display", "block"), this.$closeBtn.css("display", "block")
            }, hideLayers: function () {
                this.$closeBtn.css("display", "none"), this.$coverLayer.css("display", "none")
            }, btnCloseMiniPlayer: function () {
                var t = this;
                this.closeMiniPlayer(), setTimeout(function () {
                    t.sendStat("0", t.statCode.closeAp)
                }, 0)
            }, closeMiniPlayer: function () {
                this.miniVideoBeClosed = !0, this._hideMiniPlayer()
            }, responsePlayVideo: function () {
                this.beLocked = !1;
                var t = UserValidate.getUserInfo(), e = !1;
                t && t.userlevel > 0 && (e = !0), this.miniVideoCanShow = !1, this.isShowing && !e && this._hideMiniPlayer()
            }, positionPlayer: function (t) {
                var e = this.containerSize, i = (this.lastWidth - $(".le_other").width()) / 2;
                this.defaultLeft = i + $(".le_other .column_right").position().left - 10;
                var o = this.defaultLeft, n = this.lastHeight - this.containerSize.outerHeight, r = this.lastWidth - this.containerSize.outerWidth - a, l = Cookie.get("currentLeft_miniPlayer") || o, c = Cookie.get("currentTop_miniPlayer") || n;
                t && (l = o, c = n), l > r && r > o ? l = o : l > r && o > r && (l = r), c > n && (c = n), (this.lastWidth < e.outerWidth + a || this.lastHeight < e.outerHeight + s) && this.closeMiniPlayer(), this.$flashBoxParent.css({
                    left: parseInt(l, 10),
                    top: parseInt(c, 10)
                }), Cookie.set("currentLeft_miniPlayer", l, {exp: "forever"}), Cookie.set("currentTop_miniPlayer", c, {exp: "forever"})
            }, _showMiniPlayer: function () {
                var t = this;
                this.playListEvent.emit(this.playListEvent.CHANGE_INTERACTIVE, !1);
                var e = this.containerSize;
                this.$flashBoxParent.addClass("player_min"), this.$flashBoxParent.css({
                    width: e.innerWidth,
                    height: e.innerHeight
                }), this.$flashBox.css({
                    width: e.innerWidth,
                    height: e.innerHeight
                }), this.playListEvent.emit("hideMiyueDuanliu"), this.$flashBox.find(".j_le_play_pop").length > 0 && this.playListEvent.emit("hideFullScreenTryLook"), this.$flashBox.find(".j_le_forbid_pop").length > 0 && this.playListEvent.emit("showSmallForbiddenPop"), __PLAYER__.isH5 || this.playListEvent.emit(this.playListEvent.RESIZE_CONTAINER, e.innerWidth, e.innerHeight), this.isShowing = !0, __PLAYER__.resize(), this.playListEvent.emit("miniPlayerTrigger", !0), setTimeout(function () {
                    t.sendStat("41", t.statCode.exposeAp)
                }, 0)
            }, _hideMiniPlayer: function () {
                this.playListEvent.emit(this.playListEvent.CHANGE_INTERACTIVE, !0), this.hideLayers(), this.$flashBoxParent.removeClass("player_min");
                var t = this.$playerContainer.width(), e = this.$playerContainer.height();
                this.$flashBoxParent.css({width: t, height: e}), this.$flashBox.css({
                    width: t,
                    height: e
                }), __PLAYER__.isH5 || this.playListEvent.emit(this.playListEvent.RESIZE_CONTAINER, t, e), this.isShowing = !1, __PLAYER__.resize(), this.playListEvent.emit("miniPlayerTrigger", !1), this.$flashBox.find(".j_le_play_pop").length > 0 && this.playListEvent.emit("showFullScreenTryLook"), this.$flashBox.find(".j_le_forbid_pop").length > 0 && this.playListEvent.emit("showBigForbiddenPop"), this.playListEvent.emit("showMiyueDuanliu")
            }, initDrag: function (t) {
                var e = this;
                t.onmousedown = function (i) {
                    if (e.isShowing) {
                        var o, n, r = i || event, l = e.containerSize, c = e.lastWidth - l.outerWidth - a, d = e.lastHeight - l.outerHeight, p = 0, h = s, u = this.offsetLeft, m = this.offsetTop, v = r.clientX - u, f = r.clientY - m;
                        return t.setCapture && t.setCapture(), document.onmousemove = function (i) {
                            var a = i || event;
                            o = a.clientX - v, n = a.clientY - f, p > o ? o = p : o > c && (o = c), h > n ? n = h : n > d && (n = d), Math.abs(e.defaultLeft - o) < 15 && (o = e.defaultLeft), t.style.left = o + "px", t.style.top = n + "px"
                        }, document.onmouseup = function () {
                            document.onmousemove = document.onmouseup = null, t.releaseCapture && t.releaseCapture(), void 0 !== o && void 0 !== n && (Cookie.set("currentLeft_miniPlayer", o, {exp: "forever"}), Cookie.set("currentTop_miniPlayer", n, {exp: "forever"}), setTimeout(function () {
                                (u !== o || m !== n) && e.sendStat("0", e.statCode.dragAp)
                            }, 0))
                        }, !1
                    }
                }
            }, _getDomTop: function (t) {
                return t.position().top - $(window).scrollTop()
            }, sendStat: function (t, e) {
                Stats.sendAction({acode: t, ap: e})
            }
        }, n = $.browser.msie && $.browser.version - 8 < 0;
        !($.browser.iPad || $.browser.andorid || n) && $("#fla_box_p").length > 0 && __INFO__ && __INFO__.video && 1035 != __INFO__.video.cid && o.init(), i.exports = o
    }, require("bz/www_play/draggablePlayer"), function () {
        var t = {
            rightTpl: '<div class="rightFix_tool" style="display: none;"><a class="tool_item feedback" href="javascript:;"><i data-text="反馈" title="意见反馈"></i></a><a class="tool_item toTop" href="javascript:;"><i data-text="顶部" title="回到顶部"></i></a></div>',
            render: function (t) {
                var e = this;
                this.isShow = !1, this.hasExpsored = !1, this.settings = {
                    afterSidebarShow: t && t.afterShow || function () {
                    }, afterSidebarHide: t && t.afterHide || function () {
                    }, afterBackTop: t && t.afterBackTop || function () {
                    }
                }, $(document.body).append(e.rightTpl), e.displayLogic(), e.handleMouseEvent(), e.handleClickEvent(), $(window).on("scroll", function () {
                    e.displayLogic()
                })
            },
            displayLogic: function () {
                var t = this;
                t.shouldShow() ? t.show() : t.hide()
            },
            show: function () {
                var t = this;
                $(".rightFix_tool").css("display", "block"), !t.isShow && t.settings.afterSidebarShow(), t.isShow = !0
            },
            hide: function () {
                var t = this;
                $(".rightFix_tool").css("display", "none"), t.isShow && t.settings.afterSidebarHide(), t.isShow = !1
            },
            shouldShow: function () {
                return $(document).scrollTop() >= 660
            },
            handleClickEvent: function () {
                var t = this;
                $(".rightFix_tool").on("click", ".feedback", function () {
                    $(this).attr({target: "_blank", href: "http://bbs.le.com/forum-type-907-711-1.html"})
                }).on("click", ".toTop", function () {
                    $("body, html").animate({scrollTop: 0}, 10).promise().then(function () {
                        t.settings.afterBackTop()
                    })
                })
            },
            handleMouseEvent: function () {
                $(".rightFix_tool").on("mouseenter", ".feedback", function () {
                    var t = $(this), e = t.find("i");
                    t.addClass("hover"), e.html(e.attr("data-text"))
                }).on("mouseleave", ".feedback", function () {
                    var t = $(this);
                    t.removeClass("hover"), t.find("i").html("")
                }).on("mouseenter", ".toTop", function () {
                    var t = $(this), e = t.find("i");
                    t.addClass("hover"), e.html(e.attr("data-text"))
                }).on("mouseleave", ".toTop", function () {
                    var t = $(this);
                    t.removeClass("hover"), t.find("i").html("")
                })
            }
        };
        t.render()
    }(), $(function () {
        var t = window.__INFO__ || {}, e = t.search_word || [], i = e.length, a = i ? e[Math.floor(Math.random() * i)] : "", s = $(".j-sidesearch");
        a && s.find('input[name="wd"]').val(a).focus(function () {
            this.value === a && (this.value = "")
        }).blur(function () {
            "" === this.value && (this.value = a)
        });
        var o = s.find('input[name="wd"]').eq(0);
        o.length && (s.on("mouseover", function () {
            s.addClass("hover")
        }), s.on("mouseout", function () {
            s.removeClass("hover")
        }), s.on("submit", function () {
            var t = $.trim(o.val());
            return "" !== t
        }), o.on("focus", function () {
            s.addClass("active")
        }), o.on("blur", function () {
            s.removeClass("active")
        }));
        var n = $(".Rank .rank-list"), r = $(".Search .search-list"), l = $(".Search .H-search .j-sidesearch");
        n.on("click", "li a", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=right&link=hot_list"})
        }), r.on("click", "dl a", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=right&link=search_entry"})
        }), l.on("click", "input[type=submit]", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=info&link=search_item"})
        })
    }), function (t) {
        function e(t) {
            return t.pid > 0 ? "p" + t.pid : "v" + t.vid
        }

        function i(t) {
            function e() {
                var t = null;
                if ($.isReady && (t = a.pop())) {
                    var e = new Image(1, 1), s = null;
                    s = "function" === $.type(t.parser) ? t.parser : o[t.parser || "default"], t.parser || o;
                    var n = i.service.replace("$1", t.type).replace("$2", t.action).replace("$3", t.uid).replace("$4", encodeURIComponent(s(t.detail)));
                    e.src = n
                }
            }

            var i = {
                service: "http://" + LETV.CONSTANT.host.DC_LETV_COM + "/fav/log?type=$1&act=$2&uid=$3&detail=$4",
                interval: 1e3
            }, a = [], s = null, o = {
                "default": function (t) {
                    var e = function (t) {
                        return t.pid && t.vid ? "${pid}_${vid}".replace(/\$\{(\w+)\}/g, function (e, i) {
                            return t[i]
                        }) : t.href ? t.href : t.titleurl ? t.titleurl : ""
                    };
                    if ($.isArray(t)) {
                        for (var i, a = [], s = 0; i = t[s]; s++)a.push(e(i));
                        return a.join(",")
                    }
                    return $.isPlainObject(t) ? e(t) : ""
                }
            };
            return {
                push: function (t) {
                    var e = {type: 3, action: "", uid: m.getUserInfo() ? m.getUserInfo().username : "-", detail: null};
                    a.push($.extend({}, e, t))
                }, status: function () {
                    console.group("统计服务状态"), console.dir(a), console.groupEnd()
                }, start: function () {
                    return null !== s ? !1 : void(s = setInterval(function () {
                        try {
                            e()
                        } catch (t) {
                        }
                    }, i.interval))
                }, stop: function () {
                    null != s && (clearInterval(s), s = null)
                }
            }
        }

        function a(t) {
            LocalStore.available ? (b = LocalStore.flash ? y : g, LocalStore.flash && (y.medium = LocalStore.medium)) : b = "UnavailableStore", t(b)
        }

        function s(t) {
            var e = null, i = 0, a = this, s = LETV.cookie("u"), o = LETV.json(LETV.Base64.decode(s));
            this.readRecord = function (t) {
                $.getJSON("http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcs/list?callback=?&pagesize=6&page=1", {uid: o.uid}, function (a) {
                    200 == a.code && (v = a.data.stime, e = a.data.items, i = a.data.total, $.isFunction(t) && t(e))
                })
            }, this.removeRecord = function (t, i) {
                var s = t.charAt(0), n = 0, r = 0;
                "p" == s ? n = t.substr(1, t.length) : r = t.substr(1, t.length), $.getJSON("http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcs/delete?callback=?", {
                    uid: o.uid,
                    pid: n,
                    vid: r
                }, function (t) {
                    e = null, 200 == t.code && a.readRecord(i)
                })
            }, this.removeAll = function (t) {
                $.getJSON("http://" + LETV.CONSTANT.host.API_MY_LETV_COM + "/vcs/delete?callback=?&flush=1", {uid: o.uid}, function (a) {
                    200 == a.code && ($.isFunction(t) && t([], e), e = null, i = 0)
                })
            }, this.getTotal = function () {
                return i
            }
        }

        function o(t) {
            return null != o._instance ? void t(o._instance) : void(m.getUserInfo() ? s.Installed(m.getUserInfo().username, function (e) {
                o._instance = e, t(o._instance)
            }) : a(function (e) {
                o._instance = e, t(o._instance)
            }))
        }

        function n(t) {
            return "undefined" != typeof playRecordData ? void t(playRecordData) : void $.getScript("http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/playRecord/list.json", function () {
                t(playRecordData)
            })
        }

        function r(t) {
            var e = Math.floor(t / 60);
            e = 10 > e ? "0" + e : e.toString();
            var i = Math.floor(t % 60);
            return i = 10 > i ? "0" + i : i.toString(), [e, "分", i, "秒"].join("")
        }

        function l(t) {
            var e = 0, i = 5;
            return t > 50 ? (e = 31, i = t > 97 ? 96 : 22 + 2 * (t - 50) / 120 * 100) : i = 5 > t ? 5 : 2 * t / 125 * 100 - 1, {
                pLeft: e,
                bLeft: i
            }
        }

        function c(t, i) {
            var a = "target='_blank'";
            t.parents(".j-ub-poprec").removeClass("no_play").addClass("have_play");
            var s = LETV.CONSTANT.host.LETV_COM + "/ptv/";
            new RegExp(s).test(window.location.href) && (a = "");
            var o = [];
            o.push('<div class="RecArea" style="position:relative"><ul class="play-list">');
            for (var n, c = i.length > 6 ? 6 : i.length, d = 0; n = i[d], c > d; d++) {
                var p, u = e(n);
                p = 1 == n.isend ? 100 : parseInt(100 * (n.vtime > 0 ? n.htime / n.vtime : 0));
                var f = _[n.from] || "i-pc", g = function (t) {
                    var e;
                    if (t) {
                        e = m.getUserInfo() ? v - t : parseInt((new Date).getTime() / 1e3) - t;
                        var i = "";
                        return i = 0 >= e ? "" : e > 0 && 60 > e ? Math.abs(e) + "秒前" : e >= 60 && 3600 > e ? Math.floor(e / 60) + "分钟前" : e >= 3600 && 86400 > e ? Math.floor(e / 3600) + "小时前" : e >= 86400 && 2592e3 > e ? Math.floor(e / 86400) + "天前" : Math.floor(e / 2592e3) + "月前"
                    }
                    return i = ""
                }, y = 100 == p ? "已看完" : "已看到" + r(n.htime), b = h.clipstring(n.title, 32), w = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + n.vid + ".html";
                100 > p && (w += "?htime=" + n.htime);
                var T = 100 == p ? "重播" : "续播";
                l(p);
                o.push('<li data-per="' + p + '"><i class="' + f + '"></i><b class="i-name"><a href="' + w + '" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_click" title="' + n.title + '" target="_blank">' + b + '</a></b><em class="i-day">' + g(n.updatetime ? parseInt(n.updatetime / 1e3) : n.utime) + '</em><small class="i-play"><a href="' + w + '" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_click" title="' + n.title + '" target="_blank">' + T + "</a>" + T + '</small><u class="i-off" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_clo_click" data-command="delete" data-key="' + u + '">×</u>'), o.push('<p class="i-wrap" title="' + y + "，" + p + '%"><span style="width:' + p + '%;" class="i-ct" ></span></p></li>')
            }
            if (o.push("</ul>"), o.push('<div class="play-bg" style="display:none;"></div>'), o.push('<div class="play-del" style="display:none"></div></div>'), m.getUserInfo()) {
                var C = "target='_blank'", s = "^(http://|https://)?" + LETV.CONSTANT.host.MY_LETV_COM;
                new RegExp(s, "i").test(window.location.href) && (C = ""), o.push('<div class="play-opc"><span class="s2"><i></i><b><a data-command="clearAll" href="javascript:;" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_empty_click">清空</a></b></span><span class="s3"><b><a href="http://' + LETV.CONSTANT.host.MY_LETV_COM + '/playrecord" target="' + C + '" data-command="enterRecordAll"  k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_all_click_logined"  >查看全部></a></b></span></div>');
            } else o.push('<div class="play-opc"><span class="s2"><i></i><b><a data-command="clearAll" href="javascript:;" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_empty_click">清空</a></b></span><span class="s3"><b><a href="javascript:;" k-name="ub/login" data-rep="bk=topnav&link=rec_plays_all_click" >查看全部></a></b></span></div>');
            var k = Spirit.UserValidate.getUserInfo() ? "" : '<p>登录后可同步移动设备和TV端播放记录</p><a href="javascript:;" data-rep="bk=topnav&link=rec_login_button_click" k-name="ub/login" class="user_pop_btn">马上登录</a>', S = '<div class="list t-p" style="display:block;" data-statectn="notes" data-itemhldr="a">' + k + o.join("") + "</div>";
            t.html(S)
        }

        function d(t, e) {
            t.parents(".j-ub-poprec").removeClass("have_play").addClass("no_play");
            var i = [];
            m.getUserInfo() ? (i.push('<p class="no_play_h3">播放记录为空</p>'), i.push("<p>您已是乐视网用户，将能永远保存播放记录！</p>")) : (i.push('<a href="javascript:;" k-name="ub/login" class="user_pop_btn" data-rep="bk=topnav&link=rec_login_button_click">马上登录</a>'), i.push('<p class="no_play_h3">播放记录为空</p>'), i.push('<p><a href="javascript:;" k-name="ub/login" data-rep="bk=topnav&link=rec_login_word_click">登录</a>后可同步移动设备和TV端播放记录，</p><p>观看更方便~</p>')), t.html(i.join(""))
        }

        function p(t, e) {
            var i = [];
            i.push('<div class="getdata" style="margin-top:106px">'), i.push(e), i.push("</div>"), t.html(i.join(""))
        }

        var h = LETV.using("Utils"), u = LETV.using("UI"), m = Spirit.UserValidate, v = (Spirit.userLogin, parseInt((new Date).getTime() / 1e3)), f = $(".j_user_bar"), _ = {
            1: "i-pc",
            2: "i-ph",
            3: "i-pd",
            4: "i-tv",
            5: "i-box"
        }, g = {
            readRecord: function (t) {
                var e = LocalStore.read("hisdata") || [];
                "function" == typeof t && t(e)
            }, removeRecord: function (t, i) {
                for (var a, s = LocalStore.read("hisdata") || [], o = {}, n = [], r = [], l = 0, c = s.length; c > l; l++)a = s[l], o[e(a)] = a;
                var d = o[t];
                d && (r.push(d), delete o[t]);
                for (var p in o)n.push(o[p]);
                LocalStore.write("hisdata", n), "function" == typeof i && i(n, r)
            }, removeAll: function (t) {
                var e = LocalStore.read("hisdata") || [];
                LocalStore.write("hisdata", []), "function" == typeof t && t([], e)
            }, getTotal: function () {
                var t = LocalStore.read("hisdata") || [];
                return t.length || 0
            }
        }, y = {
            medium: null, readRecord: function (t) {
                var e = this.medium.getAllRecord() || [];
                "function" == typeof t && t(e)
            }, removeRecord: function (t, i) {
                for (var a, s = this.medium.getAllRecord() || [], o = {}, n = [], r = [], l = 0, c = s.length; c > l; l++)a = s[l], o[e(a)] = a;
                var d = o[t];
                d && (r.push(d), delete o[t]);
                for (var p in o)n.push(o[p]);
                var h = 0, u = 0;
                "p" === t.charAt(0) ? h = t.slice(1) : u = t.slice(1), this.medium.removeRecord(h, u), "function" == typeof i && i(n, r)
            }, removeAll: function (t) {
                var e = this.medium.getAllRecord() || [];
                this.medium.removeAllRecord(), "function" == typeof t && t([], e)
            }, getTotal: function () {
                var t = this.medium.getAllRecord() || [];
                return t.length || 0
            }
        }, b = null;
        s._instance = {}, s.Installed = function (t, e) {
            return s._instance[t] ? void e(s._instance[t]) : (s._instance[t] = new s(t), void e(s._instance[t]))
        }, o._instance = null;
        var w = function () {
            if (!f.find(".j-ub-follow:visible").length && !Spirit.UserValidate.getUserInfo()) {
                var t = f.find(".j-ub-tips");
                t.is(":visible") || t.show()
            }
        }, T = function (t) {
            if (t.length) {
                var e = function (t) {
                    var e = t instanceof $ ? t : $(t);
                    e.is(":visible") && (e.hide(), e.data("ub_pop_type", ""), e.next("iframe").hide())
                };
                f.find(".j-ub-tips").hide(), e(t.siblings(".H-play").find(".list.t-i")), t.siblings(".j-ub-pop").each(function (t, i) {
                    e(i)
                })
            }
        }, C = function (t) {
            var e, i = $.extend([], t), a = {}, s = [];
            if (!i || !i.length)return [];
            for (; i.length;)e = i.shift(), e.vid && !a[e.vid] && (a[e.vid] = "1", s.push(e));
            return s
        }, k = function (e, i) {
            var a = e.find(".j-ub-omcon"), s = 0;
            p(a, '<p><small class="smallLoad">努力加载中...</small></p>'), i && i.resize(), LocalStore.available && "UnavailableStore" !== o._instance || (s = 1e3), setTimeout(function () {
                o._instance = null, o(function (e) {
                    return "UnavailableStore" === e ? void n(function (t) {
                        d(a, t), i && i.resize(), S.push({type: 1, action: "history-show-recommend", detail: t})
                    }) : void e.readRecord(function (e) {
                        var s = e;
                        s.length > 0 ? (t.isShowTip = !0, s = C(s), Spirit.UserValidate.getUserInfo() || (s = s.slice(0, 4)), c(a, s), S.push({
                            type: 2,
                            action: "history-show-record",
                            detail: s
                        }), i && i.resize()) : n(function (t) {
                            d(a, t), i && i.resize(), S.push({type: 1, action: "history-show-recommend", detail: t})
                        })
                    })
                })
            }, s)
        }, S = new i;
        $(function () {
            function t(t) {
                var e = g.find(".play-bg"), i = g.find(".play-del").html(t), a = 0, s = -1;
                Spirit.UserValidate.getUserInfo() || (a = -62, s = 0), e.css({
                    height: g.height(),
                    "margin-top": a
                }), i.css({top: (-1 !== s ? s : g.height() - i.outerHeight() - 36) / 2}), i.show(), e.show()
            }

            function i() {
                g.find(".play-bg").hide(), g.find(".play-del").hide()
            }

            function a() {
                o(function (t) {
                    return "UnavailableStore" === t ? void n(function () {
                        j.html('<div class="act"><p>您还没有观看过视频节目</p><p><a href="http://' + LETV.CONSTANT.host.SO_LETV_COM + '/list" title="" target="_blank">查看最新精彩视频&gt;&gt;</a></p> </div>').slideDown()
                    }) : void t.readRecord(function (t) {
                        if (t.length > 0) {
                            var i = new Array;
                            i.push('<ul class="play-list">');
                            for (var s, c = t.length > 4 ? 4 : t.length, d = 0; s = t[d], c > d; d++) {
                                var p, u = e(s);
                                p = 1 == s.isend ? 100 : parseInt(100 * (s.vtime > 0 ? s.htime / s.vtime : 0));
                                var m = _[s.from] || "i-pc", f = function (t) {
                                    if (!t)return "";
                                    var e = v, i = e - t, a = "";
                                    return a = 0 >= i ? "" : i > 0 && 60 > i ? i + "秒前" : i >= 60 && 3600 > i ? Math.floor(i / 60) + "分钟前" : i >= 3600 && 86400 > i ? Math.floor(i / 3600) + "小时前" : i >= 86400 && 2592e3 > i ? Math.floor(i / 86400) + "天前" : Math.floor(i / 2592e3) + "月前"
                                }, g = 100 == p ? "已看完" : "已看到" + r(s.htime), y = h.clipstring(s.title, 10), b = "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/ptv/vplay/" + s.vid + ".html";
                                100 > p && (b += "?htime=" + s.htime);
                                var w = 100 == p ? "重播" : "续播";
                                l(p);
                                i.push('<li title="' + g + "，" + p + '%" data-per="' + p + '"><i class="' + m + '"></i><b class="i-name"><a href="' + b + '" title="' + s.title + '" target="_blank">' + y + '</a></b><em class="i-day">' + f(s.updatetime ? parseInt(s.updatetime / 1e3) : s.utime) + '</em><small class="i-play"><a href="' + b + '" title="' + s.title + '">' + w + "</a>" + w + '</small><u class="i-off" k-name="send-click-stat" data-click-stat="bk=topnav&link=rec_plays_clo_click" data-command="delete" data-key="' + u + '">×</u>'), i.push('<p class="i-wrap"><span style="width:' + p + '%;" class="i-ct" ></span></p></li>')
                            }
                            i.push("</ul>"), j.html(i.join("")).slideDown(), j.find("li").on("mouseover", function () {
                                $(this).addClass("active")
                            }), j.find("li").on("mouseout", function () {
                                $(this).removeClass("active")
                            }), j.find("u[data-command='delete']").on("click", function () {
                                var t = $(this), e = t.attr("data-key");
                                return e ? (o(function (t) {
                                    t.removeRecord(e, function (t, e) {
                                        a()
                                    })
                                }), !1) : !1
                            })
                        } else n(function (t) {
                            j.html('<div class="act"><p>您还没有观看过视频节目</p><p><a href="http://' + LETV.CONSTANT.host.SO_LETV_COM + '/list" title="" target="_blank">查看最新精彩视频&gt;&gt;</a></p> </div>').slideDown()
                        })
                    })
                })
            }

            var s = f.find(".j-ub-poprec"), g = ($(".top-notes"), s), y = g.find(".play-list li"), b = ($(".j-ub-head"), $(".user-login"), $(".top-show"), "");
            y.live("mouseover", function () {
                $(this).addClass("active")
            }), y.live("mouseout", function () {
                $(this).removeClass("active")
            }), Spirit.Event.addEvent("logoutSuccess", function (t) {
                g.is(":visible") && (o._instance = null, k(g))
            }), Spirit.Event.addEvent("loginSuccess", function (t) {
                g.is(":visible") && (o._instance = null, k(g, b))
            });
            var x = u.Dialog({
                cont: g, shadow: 1, zIndex: 300, onInit: function (t) {
                    var e = null;
                    f.find(".j-ub-records").on("mouseenter", function () {
                        e = setTimeout(function () {
                            var e = t.options.cont.filter(":visible").length > 0 ? !0 : !1;
                            return e ? !1 : (t.show(), Spirit.UserValidate.getUserInfo() ? Stats && Stats.sendAction({ap: "ch=topNav&pg=history&bk=login&link=hover"}) : Stats && Stats.sendAction({ap: "ch=topNav&pg=history&bk=logout&link=hover"}), ($.browser.iPad || $.browser.iPhone || $.browser.andorid) && Spirit.userLogin.cssRevise(), b = t, IE6 ? !1 : void 0)
                        }, 200)
                    }).on("mouseleave", function () {
                        clearTimeout(e)
                    })
                }, onShow: function (t) {
                    return T(g), "record" === g.data("ub_pop_type") ? (g.data("ub_pop_type", ""), t && t.hide(), void w()) : (g.data("ub_pop_type", "record"), void k(g, t))
                }
            });
            g.click(function (e) {
                var a = $(e.target), s = g.find(".j-ub-omcon");
                switch (a.attr("data-command")) {
                    case"clearAll":
                        o(function (e) {
                            var i = [];
                            m.getUserInfo() ? i.push('<p>是否删除您在web、手机、pad上播放的<a href="http://' + LETV.CONSTANT.host.MY_LETV_COM + '/playrecord" class="blu">' + e.getTotal() + "条播放记录</a>？</p>") : i.push('<p>是否删除您的<a class="blu">' + e.getTotal() + "条播放记录</a>？</p>"), i.push('<p><input type="button" data-command="confirm" value="确定" class="btn"/><input type="button" data-command="cancel" value="取消" class="btn"/></p>'), t(i.join(""))
                        });
                        break;
                    case"cancel":
                        return i(), !1;
                    case"confirm":
                        return o(function (e) {
                            t('<p><small class="smallLoad">正在为你删除播放记录…</small></p>'), e.removeAll(function (t, e) {
                                n(function (t) {
                                    d(s, t), i(), x.resize(), S.push({
                                        type: 1,
                                        action: "history-show-recommend",
                                        detail: t
                                    })
                                }), S.push({type: 2, action: "history-delete-all", detail: e})
                            })
                        }), !1;
                    case"delete":
                        var r = a.attr("data-key");
                        if (!r)return !1;
                        o(function (e) {
                            t('<p><small class="smallLoad">正在为你删除播放记录…</small></p>'), e.removeRecord(r, function (t, e) {
                                var a = t;
                                a.length > 0 ? (a = C(a), Spirit.UserValidate.getUserInfo() || (a = a.slice(0, 4)), c(s, a), i(), x.resize()) : (p(s, '<p></p><p></p><p><img src="http://img1.' + LETV.CONSTANT.host.C0_LETV_COM + '/ptv/images/loading.gif" width="22" height="22"/>努力加载中...</p><p></p><p></p>'), x.resize(), n(function (t) {
                                    d(s, t), i(), x.resize(), S.push({
                                        type: 1,
                                        action: "history-show-recommend",
                                        detail: t
                                    })
                                })), S.push({type: 2, action: "history-delete", detail: e})
                            })
                        });
                        break;
                    case"enterRecm":
                        return S.push({type: 1, action: "history-enter-recommend", detail: {href: a.attr("href")}}), !0;
                    case"enterRecord":
                        return S.push({type: 2, action: "history-enter-record", detail: {href: a.attr("href")}}), !0;
                    case"enterRecordAll":
                        return S.push({
                            type: 3,
                            action: "history-enter-record-all",
                            detail: {href: a.attr("href")}
                        }), !0;
                    case"enterLogin":
                        return S.push({type: 3, action: "history-enter-login", detail: {href: a.attr("href")}}), !0;
                    case"enterRegister":
                        return S.push({type: 3, action: "history-enter-register", detail: {href: a.attr("href")}}), !0;
                    case"synCloud":
                        a.addClass("Cload"), window.setTimeout(function () {
                            a.removeClass("Cload")
                        }, 3e3)
                }
            });
            var j = $(".right .record-cont");
            $(document).ready(function () {
                if (j.length > 0) {
                    var t = window.Spirit.Event, e = Spirit.UserValidate;
                    t.addEvent("loginSuccess", function (t) {
                        o._instance = null, a()
                    }), t.addEvent("logoutSuccess", function (t) {
                        o._instance = null, a()
                    }), e.getUserInfo() || LocalStore.ready(function () {
                        a()
                    })
                }
            })
        });
        window.pushHistory = function (t, e) {
        }, window.getHistoryRecoed = function (t) {
            o(function (e) {
                return "UnavailableStore" === e ? void t(null) : void e.readRecord(function (e) {
                    t(e)
                })
            })
        }, t.storageMedium = o
    }(LETV.using("Plugin.History")), function () {
        var t = LETV.App || {}, e = t.Play || {}, i = __INFO__.video || {}, a = (Spirit.UserValidate, 0), s = {}, o = {
            scrollBar: function (t, e, i) {
                var a = $(window), t = t, s = function () {
                    var s = window.screen.availHeight;
                    if (1 == i) {
                        var o = a.scrollTop() + a.height() / 2 - 76 + e;
                        return Math.max(s, o)
                    }
                    var o = a.scrollTop() + a.height() / 2 - t.height() / 2 + e;
                    return Math.max(s, o)
                };
                if (IE6) {
                    var o = t, n = 0, r = function () {
                        n = s(), o.css({top: n})
                    };
                    o.css({position: "absolute", top: s()}), r(), a.bind("scroll.app", r).bind("resize.app", r)
                } else a.bind("scroll.app", function (e) {
                    n = s(), t.css({position: "absolute", top: n})
                });
                t.show(), t.css("top", s())
            }, initDraw: function () {
                if (0 != $("#fla_box").length && s.egg_swf[a]) {
                    var t = function () {
                        if (!$.browser.iPad) {
                            var t = s.egg_swf[a] + "?vid=" + i.vid || "", n = '<div class="floatBall" style="position:absolute;"><a href="javascript:;" class="vip_ball"></a><div class="egg" id="egg" style="display:none;"><embed codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="130" height="100" quality="high" id="eggflash" wmode="transparent" src="' + t + '" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" play="true" loop="true" scale="noscale" bgcolor="#000000" name="eggflash" flashvars="vid=' + i.vid + '" menu="true" devicefont="false" allowscriptaccess="always" allowfullscreen="true" allowfullscreeninteractive="true" salign="TL" type="application/x-shockwave-flash"></div></div>';
                            $("body").append(n)
                        }
                        var r = $(window), l = $(".floatBall"), c = 0, d = r.scrollTop() + r.height() / 2 - 76 + c;
                        l.css("top", d).css("position", "absolute"), l.find(".j-close").on("click", function () {
                            e.closeDraw()
                        }), o.scrollBar(l, c - 140, 1)
                    };
                    new t
                }
            }, mouseHandle: function () {
                LETV.UI.drawer([{
                    $showEl: $(".floatBall .vip_ball"), $hiddenEl: $("#egg"), show: function () {
                        $("#egg").show(), Stats.sendAction({
                            acode: "41",
                            ap: "ch=www&pg=play_v1&bk=floatBall&link=floatBall_box_hoverexposure"
                        })
                    }, hide: function () {
                        e.closeDraw()
                    }, delay: 200
                }]), $("#egg").on("mousedown", function () {
                    Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=floatBall&link=floatBall_box_click"})
                })
            }, openDraw: function () {
                return window.open(s.egg_gourl[a]), 1
            }, closeDraw: function () {
                $("#egg").hide()
            }
        };
        e.closeDraw = o.closeDraw, e.openDraw = o.openDraw, e.scrollBar = o.scrollBar;
        var n = Spirit.Event;
        n.addEvent("pageChange", function (t) {
            t.size <= 1024 ? $("#egg").hide() : $("#egg").show()
        }), $(function () {
            var t = $(window).width();
            parseInt($(".top-nav").width());
            if (t >= 1024 && 1440 >= t || t >= 1480) {
                var e = "";
                e = "www_play" == __INFO__.pageid ? "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/2877.json" : "http://" + LETV.CONSTANT.host.WWW_LETV_COM + "/cmsdata/block/2131.json", $.getJSON(e, function (t) {
                    var t = t.blockContent;
                    a = Math.floor(Math.random() * t.length);
                    var e = [], i = [];
                    for (var n in t)e.push(t[n].subTitle), i.push(t[n].url);
                    s = {egg_swf: e, egg_gourl: i}, o.initDraw(), o.mouseHandle()
                })
            }
        })
    }(), $(function () {
        $(".zt_enter").length && $(".zt_enter").on("click", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=crumbs&link=zt_enter_click"})
        });
        var t = $(".le_head .H-tv");
        t.find(".Li01").on("click", "a", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=topNav&link=supertv_click"})
        }), t.find(".Li03").on("click", "a", function () {
            Stats.sendAction({acode: "0", ap: "ch=www&pg=play_v1&bk=topNav&link=superphone_click"})
        })
    }), LTK["bz/www_play/vipDaily"] = function (t, e, i) {
        var a = {
            config: {host: location.host, isIE6: !-[1]}, init: function () {
                var t = Cookie.get("ssouid").length > 0;
                return Cookie.get("daily_popup") ? !1 : void(t || this.initVipRBPop())
            }, initVipRBPop: function () {
                var t = !__INFO__.clientStopPop && window.self == window.top && __INFO__ && "loginpage" != __INFO__.pageid && __INFO__ && 0 != __INFO__.video.trylook;
                this.vipRBPopData(t)
            }, vipRBPopData: function (t) {
                var e = this;
                t && $.ajax({
                    url: "http://" + LETV.CONSTANT.host.ISE_YUANXIAN_LETV_COM + "/boss/le_alert?from=payplay&format=jsonp",
                    dataType: "jsonp",
                    data: {deviceId: Stats.getCookie("tj_lc")},
                    success: function (t) {
                        t && t.show_info && e.isSuper(t)
                    }
                })
            }, isSuper: function (t) {
                if (t && t.show_info) {
                    var e = this.mixture(t);
                    this.scrollUp(e)
                }
            }, mixture: function (t) {
                if (t && t.show_info) {
                    var e = LETV.using("Util");
                    return Cookie.get("ssouid").length > 0 && (LEPass.getUserAndMenberInfo(function (e) {
                        t.show_info.head = e.headicon_50, t.show_info.name = e.nickname
                    }), t.show_info.endVip = e.formatDate(new Date(t.endtime), "yyyy-MM-dd"), t.show_info.superVip = e.formatDate(new Date(t.seniorendtime), "yyyy-MM-dd")), t.show_info.vip_titel = t.show_info.vip_14_text1 || t.show_info.tv_16_text1, t.show_info.vip_bigimageR = t.show_info.vip_14_image1 || t.show_info.tv_16_image1, t.show_info.vip_imgStr = t.show_info.vip_14_text2 || t.show_info.tv_16_text2, t.show_info.vip_imgStrUrl = t.show_info.vip_14_url1 || t.show_info.tv_16_url1, t.show_info.vip_leftStr = t.show_info.vip_14_text3 || t.show_info.tv_16_text3, t.show_info.vip_leftUrl = t.show_info.vip_14_url2 || t.show_info.tv_16_url2, t.show_info.vip_rigthStr = t.show_info.vip_14_text4 || t.show_info.tv_16_text4, t.show_info.vip_rigthUrl = t.show_info.vip_14_url3 || t.show_info.tv_16_url3, t.show_info.vip_moreUrl = t.show_info.vip_14_url4 || t.show_info.tv_16_url4, t.show_info.vip_bottomStr = t.show_info.vip_14_text5 || t.show_info.vip_16_text5, t.show_info.vip_bottomUrl = t.show_info.vip_14_url5 || t.show_info.vip_16_url5, t
                }
            }, vipdailyTpl: function (e) {
                if (e && e.show_info) {
                    var i = t("air/util/tpl"), a = '<div class="levip_popBox"><p class="levip_letit"></p><a href="javascript:;" class="levip_popClose"></a><div class="levip_cnt NoVip_cnt"><div class="levip_rank"><p class="rank_tit"><span>{vip_titel}</span></p><ul><li class="r_01"><a href="{vip_imgStrUrl}" target="_blank"><img src="{vip_bigimageR}"><b>{vip_imgStr}</b></a></li><li class="r_02"><a href="{vip_moreUrl}" target="_blank">更多会员精彩大片&gt;&gt;</a></li><li class="r_03"><a href="{vip_leftUrl}" target="_blank">{vip_leftStr}</a></li><li class="r_04"><a href="{vip_rigthUrl}" target="_blank">{vip_rigthStr}</a></li></ul></div></div><div class="levip_tips_bg" style="display: block;"><p class="levip_tips"><i></i><a href="{vip_bottomUrl}" target="_blank">{vip_bottomStr}</a></p></div></div>', s = new i(a), o = s.render(e.show_info);
                    return o
                }
            }, scrollUp: function (t) {
                if (t.show_info) {
                    var e = this, i = e.vipdailyTpl(t), s = function () {
                        if ($(window).scrollTop() > 500) {
                            var a = __INFO__.video.trylook;
                            if (0 == a)return;
                            if ($(".levip_popBox").length > 0)$(".levip_popBox").show(); else {
                                if (Cookie.get("daily_popup"))return !1;
                                $("body").append(i), Cookie.set("daily_popup", "1", {
                                    expires: 72e3,
                                    domain: ".le.com"
                                }), e.statShow(t)
                            }
                            $(".levip_popBox .levip_popClose").on("click", function () {
                                $(".levip_popBox").remove()
                            }), e.statClick(t)
                        } else $(".levip_popBox").hide()
                    };
                    a.config.isIE6 ? resizeVipPop = function () {
                        s();
                        var t = $(window).scrollTop() + $(window).height() - 260;
                        t = Math.min(t, document.body.offsetHeight), $(".levip_popBox").css({
                            position: "absolute",
                            top: t + "px",
                            right: "50px"
                        })
                    } : resizeVipPop = function () {
                        s()
                    }, $(window).on("scroll", resizeVipPop), resizeVipPop()
                }
            }, statShow: function (t) {
                if (t && t.reporting) {
                    var e = [], i = "";
                    for (var a in t.reporting) {
                        var s = a + "=" + t.reporting[a];
                        e.push(s)
                    }
                    for (var a = 0; a < e.length; a++)i += e[a] + "&";
                    $(".levip_popBox").is(":visible") && $(".levip_popBox").length >= 1 && Stats && Stats.sendAction({
                        acode: 41,
                        ap: "ch=play&pg=payplay&bk=levip_popBox&link=show&" + i
                    })
                }
            }, statClick: function (t) {
                if (t && t.reporting) {
                    var e = [], i = "";
                    for (var a in t.reporting) {
                        var s = a + "=" + t.reporting[a];
                        e.push(s)
                    }
                    for (var a = 0; a < e.length; a++)i += e[a] + "&";
                    $(document.body).on("click", ".levip_popBox .levip_popClose", function () {
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=close&" + i})
                    }), $(document.body).on("click", ".levip_popBox .r_01 a", function () {
                        $(".levip_popBox .r_01 a").attr("href");
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=pic&urm_field=vip_url1&" + i})
                    }), $(document.body).on("click", ".levip_popBox .r_02 a", function () {
                        $(".levip_popBox .r_02 a").attr("href");
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=more&&urm_field=vip_url4&" + i})
                    }), $(document.body).on("click", ".levip_popBox .r_03 a", function () {
                        $(".levip_popBox .r_03 a").attr("href");
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=LeftT&urm_field=vip_url2&" + i})
                    }), $(document.body).on("click", ".levip_popBox .r_04 a", function () {
                        $(".levip_popBox .r_04 a").attr("href");
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=LeftR&urm_field=vip_url3&" + i})
                    }), $(document.body).on("click", ".levip_popBox .levip_tips_bg a", function () {
                        $(".levip_popBox .levip_tips_bg a").attr("href");
                        Stats && Stats.sendAction({ap: "ch=play&pg=payplay&bk=levip_popBox&link=pay&urm_field=vip_url5&" + i})
                    })
                }
            }
        };
        i.exports = a.init()
    }, LTK["bz/www_play/360guide"] = function (t, e, i) {
        function a() {
            n.off(n.PLAYER_VIDEO_PLAY, a), o.pause();
            var t = "";
            t += '<div class="le_play_pop fullView_pop"><a class="btn_view_close" href="javascript:;"></a><div class="view_cnt"><img src="http://i2.letvimg.com/lc02_img/201601/22/15/17/fullView_img.png"><h5>360°全景视角</h5><p>拖动鼠标操作</p></div></div>', $("#fla_box").prepend(t), $(".le_play_pop.fullView_pop").on("click", s), LETV.cookie("360guide", !0, {expires: "forever"})
        }

        function s() {
            o.play(), $(".le_play_pop.fullView_pop").remove(), n.off(n.PLAYER_VIDEO_PLAY, a)
        }

        var o = t("bz/www_play/responsePlayer"), n = t("bz/www_play/events");
        __INFO__ && __INFO__.video && 1035 == __INFO__.video.cid && !LETV.cookie("360guide") && n.on(n.PLAYER_VIDEO_PLAY, a)
    }, LTK["bz/www_play/linkShortDetail"] = function (t, e, i) {
        var a = t("air/util/ScrollTrigger"), s = {
            api: {getKeyword: "http://" + LETV.CONSTANT.host.seo_contentservice_letv_cn + "/getkeywordlist"},
            init: function () {
                this.initDom(), this.initEvent(), this.initLogic()
            },
            initDom: function () {
                this.$infoCont = $(".Info .info_list li:last em p"), this.$infoHotCont = $(".Info_hot .info_list li:last em p")
            },
            initEvent: function () {
                this.playListEvent = t("bz/www_play/events"), this.playListEvent.on(this.playListEvent.PLAY_VIDEO, $.proxy(this.initLogic, this))
            },
            initLogic: function () {
                this.getData()
            },
            getData: function () {
                var t = this, e = [3, 7, 9, 10, 14, 20, 22, 30, 34, 35, 99, 104, 1009, 1021, 1020, 1029], i = window.__INFO__ || {}, a = i.cid, s = i.vid, o = Stats.getLC() || "", n = o[o.length - 1], r = ["0", "1", "2", "3"], l = "http://www.le.com/", c = {vid: s};
                $.inArray(a, e) > -1 && $.inArray(n, r) > -1 && $.ajax({
                    url: this.api.getKeyword,
                    data: c,
                    dataType: "jsonp",
                    success: function (e) {
                        e && e.keywords && e.keywords.length > 0 && (t.$infoCont.after('<a class="more" href="' + l + "collection/" + e.keywords[0] + '.html" title="' + e.keywords[0] + '" target="_blank" k-name="send-click-stat" data-click-stat="ch=www&pg=shortplay&bk=info&link=more">更多详情>></a>'), t.$infoHotCont.after('<a class="more_detail" href="' + l + "collection/" + e.keywords[0] + '.html" title="' + e.keywords[0] + '" target="_blank" k-name="send-click-stat" data-click-stat="ch=www&pg=shortplay&bk=info&link=more">更多详情>></a>'), t.scrollTrigger())
                    }
                })
            },
            scrollTrigger: function () {
                var t = $(".info_list .more"), e = $(".more_detail");
                t.length > 0 && this._scrollTrigger(t), e.length > 0 && this._scrollTrigger(e)
            },
            _scrollTrigger: function (t) {
                a.add({
                    point: t.offset().top, handler: function () {
                        Stats.sendAction({acode: 41, ap: "ch=www&pg=shortplay&bk=info&link=more"})
                    }
                })
            }
        };
        i.exports = s
    }, require("bz/www_play/vipDaily"), require("bz/www_play/vipAd"), require("bz/www_play/360guide"), require("bz/www_play/linkShortDetail").init(), Array.prototype.indexOf || (Array.prototype.indexOf = function (t) {
        var e = this.length >>> 0, i = Number(arguments[1]) || 0;
        for (i = 0 > i ? Math.ceil(i) : Math.floor(i), 0 > i && (i += e); e > i; i++)if (i in this && this[i] === t)return i;
        return -1
    }),__INFO__ && "93334" == __INFO__.pid) {
    var html = '<a href="http://' + LETV.CONSTANT.host.ZHIFU_LETV_COM + '/tobuy/regular?ref=mybfywz" target="_blank"><span style="position: absolute;top: 24px;right: 300px;font-size: 16px;color: #555;">高清4K 追芈月传用乐视会员</span></a>';
    $(".j-video-name.video-name").after(html)
}